AbydosGater Posted November 23, 2006 Share Posted November 23, 2006 Hi,Ive been working on my registration system for my website, and i want to be able to send the user an email on registration...In my config file i have..[code]<?php$registration_email_user = "<html><p><b>Shadow Fleet Registration.</b></p><p>Thank you, for registering with Shadow Fleet, you have completed step one of your registration process.<br> You have registered your account with the following information...</p><p>Username: $username<br> Password: $password<br> Email Address: $email<br> <br> You must keep your password safe, it has been encrypted in our database and cannot be retrieved.<br> <br> You registered with the following IP address: $ipaddress<br> Your IP has been logged in our system, and has been stopped from registering multiple accounts.<br> If you think your IP should be allowed to register another account please contact a member of the Admin team.</p><p>Your account is not yet completely active,<br> To activate your account please click the link below.</p><p>http://shadowfleet.info/newversion/register.php?step=2&&uid=$member_id&&acode=$acode</p><p>Thank you,<br> Shadow Fleet Administrations Team.</p></html>";?>[/code]And the line of code in my script is..mail($email, "Shadow Fleet Registration", "$registration_email_user", "FROM: Shadow Fleet Systems");Now the email is being sent to the user, just its not formatting as HTML just all one long string? is there any way to get the email to send as HTML?Thanks Link to comment https://forums.phpfreaks.com/topic/28274-php-mail-not-sending-html/ Share on other sites More sharing options...
Stooney Posted November 23, 2006 Share Posted November 23, 2006 [url=http://us2.php.net/manual/en/function.mail.php]http://us2.php.net/manual/en/function.mail.php[/url]scroll down to example #4 Link to comment https://forums.phpfreaks.com/topic/28274-php-mail-not-sending-html/#findComment-129299 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.