Forum Moderators: coopster
like: someone@example.com
yet I am not successful sending to an email address
like: myname@sub.example.com
Thanks for any suggestions
[edited by: eelixduppy at 5:21 am (utc) on July 12, 2008]
[edit reason] exemplified [/edit]
Haven't heard of this before, are you getting any errors? is mail() returning FALSE? Have you checked your spam/bulk folder for the email? Are you setting the FROM header in the email? There are many reasons the email might not be reaching its destination. Answer the questions above and we'll see where we stand.
(Filter happening at the service provider level, not the individual user level.)
I found out that the email service provider for example.com filters multiple sends from a website, limiting the number of emails delivered to its users emails (to prevent spams) only allowing one or 2 a day to a recipient from: 'from=address@mysite.com'. So I changed the from: 'from=anotheraddress@mysite.com' and received 2 (tested about 5) but at least I received them in the same day, receiving a total of 3.
So it was not my code causing me not to receive emails, but the email service provider filtering.
It taught me to use a unique 'from=address@mysite.com' for each of my different types of forms, in case my user requests more than 2 or 3 things within a day, where my site needs to respond to them using mail().
And to add a
[edited by: eelixduppy at 2:55 pm (utc) on July 15, 2008]
[edit reason] exemplified [/edit]