Re: SMS E-Mail and other oddities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/11/06, Jay Blanchard <jblanchard@xxxxxxxxxx> wrote:
[snip]
Send us some source code and we can help you out!
[/snip]

Always reply to the list and please do not top post.

$poot = ini_set("sendmail_from", 'foo@xxxxxxxxxxxx');
$smsTo   = $_POST['smsPhone'] . '@sms.myserver.com';
$to      =      $smsTo;
$subject =      $_POST['smsSubject'];
$message =      $_POST['smsMessage'];
$headers =      'From: '. $poot . "\r\n" .
                        'Reply-To: '. $poot . "\r\n";
echo $to;
mail($to, $subject, $message, $headers);

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Try

$additional = "-f ". $poot;
mail($to, $subject, $message, $headers, $additional);

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux