Jump to content

Recommended Posts

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 = "BLAA@BLAA.co.uk" ;

$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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.