close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

problem php within mail body

Thread began 7/02/2013 1:02 pm by michael287412 | Last modified 7/03/2013 10:54 am by michael287412 | 229 views | 4 replies |

michael287412

problem php within mail body

Hi I'm trying to send an email which has php echo statements but on arrival the code has not actioned. Items from the record set will place in the email body but not when modified by php. In particular I'm trying to deal with dates to make reading easier for the recipient. The php statement function fine on a php page so it does not seem to be a matter of programming. Am attaching the waue file please see lines 61 and 181 for examples.

Many thanks in advance.

Attached Files
waue_project_5_1.php
Sign in to reply to this post

Jason ByrnesWebAssist

instead of:

echo $d1->format('d M');


it should be:
$MailBody = $MailBody . "". $d1->format('d M') ."";

Sign in to reply to this post

michael287412

Jason
Thanks that fixed it - may I ask another on line 77/78 I have a £ - being British, when the email generates before the £ sign there is an  I can see nothing in the php file, it happens every time I do a UE involving a £ sign.
Once again thanks.
Michael

Sign in to reply to this post

Jason ByrnesWebAssist

In universal Email set the character set of the email message to UTF-8

Sign in to reply to this post

michael287412

Jason - great did the job many thanks

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