close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Line breaks in email body (UE4)

Thread began 6/06/2012 2:06 pm by iainmacdonald331081 | Last modified 6/08/2012 10:49 am by Jason Byrnes | 740 views | 5 replies |

iainmacdonald331081

Line breaks in email body (UE4)

Not sure what I'm missing here, but line breaks are not appearing in emails generated by UE4.

Looking in the email file, it looks OK:

$MailBody = $MailBody . "Thanks for registering with the site.\r\n";
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . "Once we have verified your details, we will email you a password to log in to the site.\r\n";
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . "Regards, etc";

As far as I know the \r\n should be inserting line breaks, but its all coming through as a single line in the emails. Any suggestions?

Sign in to reply to this post

Jason ByrnesWebAssist

use <br /> tags for line breaks.

Sign in to reply to this post

iainmacdonald331081

Thanks Jason - must have missed that it was HTML where the text goes.

I have one last question on all of this - emails working from my registration page - one to the person registering, and one to the site owner. All good.

The set up is that when someone registers, the site owner verifies their details and issues a password.

So I'm trying to automate the email with the password, from a form where the site owner adds the the password.

I haven't been able to get an email sent from this page though.

It should go to

<?php echo $row_SecurityAssisttradeusers['Email']; ?>

Which echoes correctly on the page, and what I have the Email to set to in UE, but no emails are coming through.

I've attached the page with the from, and the UE file. This is definitely the last piece of all of this though!

Thanks again.

Attached Files
ue_files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

looks like you have an ADDT update transaction on the page that is redirecting to the index page before the email can be sent.

remove the redirect from the update transaction and add it to the UE Behavior.

Sign in to reply to this post

iainmacdonald331081

Thanks Jason - all woking now.

Am liking UE4 - I had still been using ADDT to send emails from forms, so that's now one less thing I'll need ADDT for.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...