markanite Posted May 18, 2007 Share Posted May 18, 2007 Hi guys, I have tried sending mail with: mail and imap. I know how to set "From" headers and this works fine when I send an email to an email. Heres the catch: when I send an email to a cell phone (i.e. 1234567890@vtext.com) it ignores the "From" header and says it is from apache@mydomain.mydomain.com Anyone have a way around this? Mark Quote Link to comment https://forums.phpfreaks.com/topic/52067-email-from-apachedomaindomaincom/ Share on other sites More sharing options...
hitman6003 Posted May 18, 2007 Share Posted May 18, 2007 Only thing I can think would be to use the "-f address@mail.com" option... mail($to, $subject, $message, $headers, "-f address@mail.com"); Quote Link to comment https://forums.phpfreaks.com/topic/52067-email-from-apachedomaindomaincom/#findComment-256700 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.