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: xxxxxx@xxxxxxxxxxxxx.com\n"; $header .= "Return-Path: xxxxxx@xxxxxxxxxxxx.com\n"; $subject = "Order Processed - eBay Auction Success Kit/Omni Site Builder/Doba WholeSale"; mail($_SESSION['PAYER'], $subject, $body_text, $header); ?> Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/87314-solved-mail-not-working/#findComment-446616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.