Jump to content


Photo

PHP mail function with AOL IDs on Linux


  • Please log in to reply
1 reply to this topic

#1 jeephp

jeephp
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 21 April 2006 - 08:25 AM

Hello Friends,

We are using [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]PHP and MySQL technologies[!--colorc--][/span][!--/colorc--]in site running on [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]Linux[!--colorc--][/span][!--/colorc--].

We are using PHP mail function to send emails to our site users on different occasion unfortunately we found that mail could not delivered on [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]AOL IDs[!--colorc--][/span][!--/colorc--] so all our site users who has AOL email ID are not able to receive any email those we have sent through PHP mail function.

Expecting some assistance to get this resolved

Regards,
Paresh Kharsan


#2 gizmola

gizmola
  • Administrators
  • Advanced Member
  • 4,664 posts
  • LocationLos Angeles, CA USA

Posted 21 April 2006 - 08:36 AM

[!--quoteo(post=367126:date=Apr 21 2006, 01:25 AM:name=jeephp)--][div class=\'quotetop\']QUOTE(jeephp @ Apr 21 2006, 01:25 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hello Friends,

We are using [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]PHP and MySQL technologies[!--colorc--][/span][!--/colorc--]in site running on [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]Linux[!--colorc--][/span][!--/colorc--].

We are using PHP mail function to send emails to our site users on different occasion unfortunately we found that mail could not delivered on [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]AOL IDs[!--colorc--][/span][!--/colorc--] so all our site users who has AOL email ID are not able to receive any email those we have sent through PHP mail function.

Expecting some assistance to get this resolved

Regards,
Paresh Kharsan
[/quote]

Well this is a complicated issue. By default PHP mail() simply tries to make an smtp connection to the destination mail server. This can cause many problems with mail servers that have aggressive spam prevention techniques, if for example, the server running the php script doesn't have a valid reverse DNS entry. The other problem is that if for whatever reason the original mail is rejected, there's really no record of that, since mail() isn't an MTA with any storage.

The alternatives are either to build a mail queueing system using some sort of persistent storage (usually a database) or to have the mail handed off to an email server that has been configured to forward (relay) the mail on the php server's behalf.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users