Current location: Hot Scripts Forums » Programming Languages » PHP » PHP mail function with AOL IDs on Linux


PHP mail function with AOL IDs on Linux

Reply
  #1 (permalink)  
Old 04-21-06, 04:46 AM
jeephp jeephp is offline
Disabled
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
PHP mail function with AOL IDs on Linux

Hello Friends,

We are using PHP and MySQL technologies in site running on Linux.

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 AOL IDs 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
Reply With Quote
  #2 (permalink)  
Old 04-21-06, 05:09 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
Here is a link that might help - http://postmaster.aol.com/

Checkout the the menu items - Guidelines, Senders FAQ, SPF Information (though most major email systems use SPF and you would also have trouble sending to MSN/Hotmail...), and Troubleshooting.

The current rumor is AOL is blocking all script (PHP) generated email.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Reply With Quote
  #3 (permalink)  
Old 04-24-06, 08:26 AM
latheesan latheesan is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Try this..

PHP Code:

<?php


/* Capture Form Input */
$to $_POST["to"] ? $_POST["to"] : '';
$from $_POST["from"] ? $_POST["from"] : '';
$subject $_POST["subject"] ? $_POST["subject"] : '';
$message $_POST["message"] ? $_POST["message"] : '';
$headers "From: " $from;


/* Send Mail */
if($to && $from && $subject && $message)
{
        if(
mail("$to""$subject""$message""$headers"))
        {
                echo 
"Mail Sent";
        }
        else
        {
                echo 
"Mail couldn't be sent";
        }
}

?>
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP mail function and Gmail strings6 PHP 8 12-29-05 07:58 AM
PHP mail function and sending php content. strings6 PHP 4 12-27-05 08:03 AM
ASP upload prob minority ASP 1 06-27-05 08:35 AM
a question concerning mail function in php? timorthy PHP 6 05-29-05 07:02 PM
PHP Error Fairnie PHP 8 06-26-04 07:15 AM


All times are GMT -5. The time now is 07:10 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.