# Sending Emails to Inbox

**URL:** <https://www.ruby-forum.com/t/sending-emails-to-inbox/193889>\
**Category:** Rails\
**Created:** [August 26, 2010, 8:52am UTC](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889 "2010-08-26T08:52:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saurabhpurnaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Post date:** [August 26, 2010, 8:52am UTC](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889/1 "2010-08-26T08:52:04Z")

</div>

Hi All,

I am having a functionality of sending emails in my rails application.  
Sending the emails is working properly but sometimes the email goes to  
Inbox folder and sometime it goes to Spam folder. I am sending one email  
at a time, there is no bulk/mass emails.

Does anyone have any idea regarding how to send email to Inbox??

Any help appreciated.

Thanks  
Saurabh

---

<div class="post-metadata">

**Author:** ![saurabhpurnaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Post date:** [August 26, 2010, 12:27pm UTC](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889/2 "2010-08-26T12:27:20Z")

</div>

On 26 August 2010 07:52, Saurabh P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi All,
> 
> I am having a functionality of sending emails in my rails application.  
> Sending the emails is working properly but sometimes the email goes to  
> Inbox folder and sometime it goes to Spam folder. I am sending one email  
> at a time, there is no bulk/mass emails.
> 
> Does anyone have any idea regarding how to send email to Inbox??

Whether it goes to the inbox or the spam folder is up to the email  
receiving application. If it thinks it is spam then there is nothing  
you can do about it other than change your email to make it less  
spammy. I assume that you have made sure you are putting sensible  
data in all the headers.

Colin

---

<div class="post-metadata">

**Author:** ![saurabhpurnaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Post date:** [August 26, 2010, 1:19pm UTC](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889/3 "2010-08-26T13:19:56Z")

</div>

clanlaw wrote:

> On 26 August 2010 07:52, Saurabh P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi All,
> > 
> > I am having a functionality of sending emails in my rails application.  
> > Sending the emails is working properly but sometimes the email goes to  
> > Inbox folder and sometime it goes to Spam folder. I am sending one email  
> > at a time, there is no bulk/mass emails.
> > 
> > Does anyone have any idea regarding how to send email to Inbox??
> 
> Whether it goes to the inbox or the spam folder is up to the email  
> receiving application. If it thinks it is spam then there is nothing  
> you can do about it other than change your email to make it less  
> spammy. I assume that you have made sure you are putting sensible  
> data in all the headers.
> 
> Colin

Hi Colin,

Will you please elaborate on how to make emails less spammy and what is  
sensible data for an email? If you are having any reference url please  
send me.

Thanks for help

Regards  
Saurabh

---

<div class="post-metadata">

**Author:** ![saurabhpurnaye](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Post date:** [August 26, 2010, 2:33pm UTC](https://www.ruby-forum.com/t/sending-emails-to-inbox/193889/4 "2010-08-26T14:33:13Z")

</div>

On Aug 26, 12:19 pm, Saurabh P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Will you please elaborate on how to make emails less spammy and what is  
> sensible data for an email? If you are having any reference url please  
> send me.

It can also be down to the configuration of your smtp server and  
things like whether the SPF settings for the domain are correct

Fred
