Roundcube Community Forum

 

From Line In Emails are being received as root@localhost. Help!

Started by Catherine, February 17, 2013, 08:26:56 PM

Previous topic - Next topic

Catherine

When I am receiving emails from my contact form on my website, they are coming through with the persons name in the From line then root@localhost.

For example:   Subject    Random
                        From         sam <root@localhost>
                        To            Website Support
                        Date    Today 10:49 am
                        Priority    Normal

When I click Reply to sender it says "Please Add One Recipient"
Why are my emails being received as the persons name and  root@localhost?
I would like my recipients email address to automatically appear in the "From Line"

How do I make that happen?
Thanks,
Catherine

JohnDoh

my guess is that in the code on your website that sends the email you never set the from header in the email you create so one is added automatically by the mail process. if you are using PHP then this page has some examples of how to add headers to the emails you are sending. http://php.net/manual/en/function.mail.php
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Catherine

I'm using wordpress and have a premium theme with a built in Contact Form.
I've used this theme many times without this problem so I'm really not sure what to do.
Any more suggestions?

Thanks,
Catherine