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

Text in one line

Thread began 12/06/2010 9:53 am by PeterL | Last modified 12/09/2010 3:32 pm by Jason Byrnes | 1318 views | 7 replies |

PeterL

Text in one line

hello,

i am using Universal email 4.0 for the first time and I got a few problems;

firts of all; how can i modify Universal email afterwards (with UE 3 you could click the script item)

my second question is why de texst in the emal is in one line and not beneath each other
(see attachement)

Thanks,

PeterL

Sign in to reply to this post

Jason ByrnesWebAssist

to edit the universal email settings, double click the universal email server behavior in the server behavior list.


Please send a copy of your page and the webassist/email folder in a zip archive so i can examine the code to see why it is on one line.

Sign in to reply to this post

PeterL

Originally Said By: Jason Byrnes
  to edit the universal email settings, double click the universal email server behavior in the server behavior list.

Jason, of course, it always was like that; I had forgotten.


Please send a copy of your page and the webassist/email folder in a zip archive so i can examine the code to see why it is on one line.  



Oke, Here are the files

Thanks for your help again!!

PeterL

Attached Files
Cotactform.zip
email.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the waue_contact_1.php file, try changing:
$MailBody = $MailBody . (str_replace("_"," ",$pkey).": ".($pval));


to:
$MailBody = $MailBody . (str_replace("_"," ",$pkey).": ".($pval)."<br/>");

Sign in to reply to this post

PeterL

Hello Jason,

indeed, now it is perfect!
I made some change myself so it looks even better:

$MailBody = $MailBody . (str_replace("_"," ",$pkey).": ".($pval)."<br/><br/>");

Thanks!!

P.S.: Is this a permanent problem or is it just a coincidence?

Next: when i make changes in WA_UE i get an error:

Parse error: syntax error, unexpected $end in /home/httpd/vhosts/mysite.com/subdomains/nieuw/httpdocs/webassist/email/waue_contact_1.php on line 82

Also the script feeld has changed:

<?php foreach( $_POST as $pkey => $pval ) { ?>
<?php echo (str_replace("_"," ",$pkey).": ".($pval)."<br/><br/>")?>\r\n

I have to correct this manualy!?

PeterL

Sign in to reply to this post

Jason ByrnesWebAssist

the mail program should converting the \r\n to a line break.

i cant say why the mail program is not reading the new line character as a line break, the work around is to make the edit I suggested.


perhaps you should try selecting the option to create a file for the email message and choosing one of the prebuilt templates.

Sign in to reply to this post

PeterL

Jason,

i can live with that.

Thanks and good luck!

Peter

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, 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...