I have three different e-mail messages in my program in
functions. That I would like to figure a way for the program user to
be able to edit this e-mail messages to there liking without having to
mess with the code. Now I have figured out with the help of this user
group how to do it with placeholders in a template but that creates an
html e-mail and I what it to be a text based e-mail. If you look at the
code below you will see there are variables in the message. Any ides
on how I should go about this Just point me in the right direction
$subject = "New Customer at $hostname.$domain$tld";
/* message*/
$message .="This webhosting account has been created. Please Add the DNS records \n";
$message .="Domain: $hostname.$domain$tld\n";
$message .="IP-Address: $baseip\n";
$message .="Username: $username\n";
$message .="Password: $password\n";
If ($selldatabase == "YES") {
$message .="Mysql Database: $userdatabase\n";
$message .="Mysql Username: $newuser\n";
$message .="Mysql Password: $newuserpass\n";
Best regards,
Richard
mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]