ballhogjoni Posted January 23, 2008 Share Posted January 23, 2008 Can someone tell me why this code is not working. It was working before. <?php $body_text = $_SESSION['FIRSTNAME']." ".$_SESSION['LASTNAME'].",\n\nThank you for your order.\nYour order was processed.\n\nShipping Address:\n".$_SESSION['STREET1']." ".$_SESSION['STREET2']."\n".$_SESSION['CITYNAME'].", ".$_SESSION['STATEORPROVINCE']." ".$_SESSION['POSTALCODE']."\n\nYour items:"; $body_text .= "1 - eBay Auction Success Kit/Omni Site Builder/Doba WholeSale @ $1.95 (each) = $1.95\n\n"; $body_text .= "subtotal: $1.95\nshipping: $0.00\nhandling: $0.00\ntax: $0.00\nTOTAL: $1.95\n\nThanks again,\neBay Auction Success Kit"; $header = "MIME-Version: 1.0\r\n"; $header .= "Content-Type: text/plain; charset=\"UTF-8\"\r\n"; $header .= "From: eBay Auction Success Kit\n"; $header .= "Reply-To: [email protected]\n"; $header .= "Return-Path: [email protected]\n"; $subject = "Order Processed - eBay Auction Success Kit/Omni Site Builder/Doba WholeSale"; mail($_SESSION['PAYER'], $subject, $body_text, $header); ?> Link to comment https://forums.phpfreaks.com/topic/87314-solved-mail-not-working/ Share on other sites More sharing options...
ballhogjoni Posted January 23, 2008 Author Share Posted January 23, 2008 I figured it out. I was sending a urlencoded email address. Link to comment https://forums.phpfreaks.com/topic/87314-solved-mail-not-working/#findComment-446616 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.