RE: [PHP] SMS E-Mail and other oddities

From: Date: Thu, 11 May 2006 20:29:09 +0000
Subject: RE: [PHP] SMS E-Mail and other oddities
Groups: php.general 
Request: Send a blank email to php-general+get-236017@lists.php.net to get a copy of this message
[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@myserver.com'); $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);

« previous php.general (#236017) next »