pjheliking Posted July 22, 2008 Share Posted July 22, 2008 I have made a mailing function to coincide with someone registering on the site now i can get it to work when i dont make the message dynamic here is the code as is <?php // Your email address $email = $row_mailer['emailaddress']; $sender = "[email protected]" ; $address = $row_mailer['emailaddress']; $password = $row_mailer['password']; $forumusername = $row_forum['username']; // The subject $subject = "BLAAA Acount Activation"; // The message $message = "Thank you for registering with BLAA <p><p> Your Details are below <p><p> Log In Username = $adress Password = $password <p> Forum Username = $forumusername <p><p> You can edit your forum profile by logging on to www.blaa.co.uk. ; mail($email, $subject, $message, "From: $sender"); what i am having trouble with is the displaying the information it comes out with T-STRING error now how can i make this information display correctly so that it will send the email. Any help wud be appreciated thanks Link to comment https://forums.phpfreaks.com/topic/116037-solved-displaying-info-in-messages/ Share on other sites More sharing options...
trq Posted July 22, 2008 Share Posted July 22, 2008 Your missing the closing double quote. Link to comment https://forums.phpfreaks.com/topic/116037-solved-displaying-info-in-messages/#findComment-596629 Share on other sites More sharing options...
pjheliking Posted July 22, 2008 Author Share Posted July 22, 2008 as i noticed it i just recieved an email saying new message phpfreaks lol thnks bud Link to comment https://forums.phpfreaks.com/topic/116037-solved-displaying-info-in-messages/#findComment-596632 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.