robcrozier Posted September 28, 2007 Share Posted September 28, 2007 Ho, i use the sendmail() function quite a bit and im having a few issues when receiving the emails. It seems like a couple of accounts do not receive the intended emails (for example 'gmail' and 'AOL' email accounts)??? Can anyone suggest a valid explanation for this, or have you came across the problems yourself? Any ideas on how to solve it? Cheers! Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/ Share on other sites More sharing options...
trq Posted September 28, 2007 Share Posted September 28, 2007 There is no such function as sendmail() within php, do you mean mail? Are the messages showing up in the spam or not at all? Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357017 Share on other sites More sharing options...
robcrozier Posted September 28, 2007 Author Share Posted September 28, 2007 sorry yes you are correct mail(). No the messages are not showing up at all??? I tried sending the same message to a Pipex supplied DSL account and it works fine, yet not to 'gmail' account??? Not in spam etc! The from: header is also configured as an appropriate and valid email address. HELP! Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357019 Share on other sites More sharing options...
trq Posted September 28, 2007 Share Posted September 28, 2007 Can we see your code? Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357025 Share on other sites More sharing options...
jaymc Posted September 28, 2007 Share Posted September 28, 2007 Perhaps the IP from which you are sending is black listed I had that on my server, the major players such as hotmail, yahoo, gmail extra where denying messages Thats why its propably working on pipex Or maybe its the headers yeh Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357042 Share on other sites More sharing options...
keeve Posted September 28, 2007 Share Posted September 28, 2007 Check your mail server if it allows sending mails to outside of its network(if you're within a network). If so, you need to configure your mail server. c",) Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357049 Share on other sites More sharing options...
localhost1 Posted September 28, 2007 Share Posted September 28, 2007 it can be said something precisely if u send the code that u have writen Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357053 Share on other sites More sharing options...
HuggieBear Posted September 28, 2007 Share Posted September 28, 2007 it can be said something precisely if u send the code that u have writen With most things, yes, with the mail() function, No! It's standards are as well defined as any of the PHP functions, but the headers parameter that it accepts is what governs which mail servers will happily receive it. However, by posting the code we will be able to see which headers you're currently using. Regards Huggie Quote Link to comment https://forums.phpfreaks.com/topic/71005-sendmail-function/#findComment-357054 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.