Quote:
Originally Posted by mask31
hi, on the email body, how do we skip lines?
when i receive the email everything is on one line, there's no line break. how do we do that?
thanks for your help
|
Use <p> and <br> or <br /> tags to separate paragraphs and insert line breaks respectively - standard HTML.
Here's a sample:
Code:
Hello, $username!
<p>You are receiving this email because you previously registered at {name of forum} with the following information:</p>
<p>Member name: $username<br>
User number: $userid<br>
Email address: $email</p>
<p>It's been some time since your last visit to our community.</p>
<p>You might be interested in having another look. We have added several features and enhancements to the forums, and many new topics and new members are added every day.</p>
<p>If you don't remember your password, you can request it here: <a href="http://{your forum URL}/login.php?do=lostpw">http://{your forum URL}/login.php?do=lostpw</a>.</p>
<p>You can now keep up to date with new topics at $bbtitle by subscribing to the Forum Newsletter. Click on your UserCP link (<a href="http://{your forum URL}/usercp.php">http://{your forum URL}/usercp</a>) in the top navigation bar of any forum page and select Edit Options ( <a href="http://{your forum URL}/profile.php?do=editoptions">http://{your forum URL}/profile.php?do=editoptions</a> ). Then scroll down to the Messaging & Notification section and check the box next to Subscribe to Forum Newsletter.</p>
<p>We hope to see you back soon.</p>
<p>If you do not wish to receive further emails of this nature, please log into your UserCP at <a href="http://{your forum URL}/profile.php?do=editoptions">http://{your forum URL}/profile.php?do=editoptions</a> and uncheck the box next to Receive Email from Administrators.</p>
<p>Administrator<br>
<a href="http://{your forum URL}">Name of Your Forum</a><br>
http://{your forum URL}</p>