# Sending e-mail problem

**URL:** <https://www.ruby-forum.com/t/sending-e-mail-problem/86558>\
**Category:** Rails\
**Created:** [February 23, 2007, 8:35am UTC](https://www.ruby-forum.com/t/sending-e-mail-problem/86558 "2007-02-23T08:35:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@abhi](https://www.ruby-forum.com/u/abhi)\
**Post date:** [February 23, 2007, 8:35am UTC](https://www.ruby-forum.com/t/sending-e-mail-problem/86558/1 "2007-02-23T08:35:10Z")

</div>

hi friends,

i m able to send email thru ROR. but every time i m sending mail it goes  
to spam folder of the mail account.

i want to directly send it to inbox.  
how to solve this problem?

---

<div class="post-metadata">

**Author:** ![abhi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b487fb/32.png) [@abhi](https://www.ruby-forum.com/u/abhi)\
**Post date:** [February 23, 2007, 9:53am UTC](https://www.ruby-forum.com/t/sending-e-mail-problem/86558/2 "2007-02-23T09:53:53Z")

</div>

Does both the plain text version of the email and the html version of  
the  
email go to the spam folder? do you have a layout for the html version  
and  
does the layout contain proper html anatome - head section and body  
section,

 tags round everything. I worked on a project a while ago and we had similar issues. I think this is where the problem was.

Ivor
