# Incoming Email Processing

**URL:** <https://www.ruby-forum.com/t/incoming-email-processing/142172>\
**Category:** Rails\
**Created:** [July 4, 2008, 3:48am UTC](https://www.ruby-forum.com/t/incoming-email-processing/142172 "2008-07-04T03:48:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xgamerx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/d2c977/32.png) [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Post date:** [July 4, 2008, 3:48am UTC](https://www.ruby-forum.com/t/incoming-email-processing/142172/1 "2008-07-04T03:48:16Z")

</div>

This is not exactly rails specific but within my rails application I am  
using ActionMailer and “receive” to process incoming emails with a cron  
script every 20 minutes. These emails are incoming and will be used to  
update user information within the database. For instance a user can  
update their status through email.

The problem is that I am worried about email spoofing. What is a good  
way to allow users to easily send an email to our server to set their  
information but still be able to have some degree of certainty that the  
user is legitimate.

I can’t expect each user to securely encrypt their email or have email  
certificates because the average user does not have these things. Yet, I  
see places that have this functionality.

Any guidance or tips about how to handle this?
