Jump to content

PHP mail function with AOL IDs on Linux


jeephp

Recommended Posts

Hello Friends,

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

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
Link to comment
Share on other sites

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

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

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.