close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email Log

Thread began 7/15/2011 5:32 am by Daryl | Last modified 7/15/2011 9:30 am by Daryl | 1095 views | 3 replies |

DarylBeta Tester

Email Log

I am using the email logging part of UE - It is great!!

One thing that I would like to do is to allow the client to see the email that was sent/received.

I am calling the record up and can view the contents of the record with no problem.

Is there a way that I can stop parts of the EmailBody being displayed?

The EmailBody seems to save the email body twice, one with no html and the second with html. I would like to only display the html version and also do not want to display the following

--WAMULTIBREAKWA Content-Type: text/plain Content-Transfer-Encoding: 8bit
  (Non HTML Formatted email body)  


--WAMULTIBREAKWA Content-Type: text/html
--WAMULTIBREAKWA--



Is this possible?

Sign in to reply to this post

DarylBeta Tester

Just to expalain a little, the table cell has the following inserted;

  <p>--WAMULTIBREAKWA Content-Type: text/plain Content-Transfer-Encoding: 8bit <!-- In"+"stanceBeginEditable name="emailbody" --><!-- In"+"stanceEndEditable --> email body content goes here <!-- In"+"stanceEnd --> --WAMULTIBREAKWA Content-Type: text/html <!-- In"+"stanceBegin template="/Templates/waue html body" codeOutsideHTMLIsLocked="false" --><!-- In"+"stanceBeginEditable name="emailhead" --><!-- In"+"stanceEndEditable --> <style type="text/css"> <!-- .style1 {font-family: Arial, Helvetica, sans-serif} --> </style> <!-- In"+"stanceBeginEditable name="emailbody" --><!-- In"+"stanceEndEditable --> </p><p class="style1">email</p> <p class="style1">body</p> <p class="style1">content</p> <p class="style1">goes</p> <p class="style1"> here</p> --WAMULTIBREAKWA-- <p></p> </body><!-- In"+"stanceEnd --></html>  

I only want to show everything between the

html:
<p class="style1"></p>

tags

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/mail/mail_php.php file,

change the following line:

php:
function WAUE_SendMail($mailObj,$mailAttachments,$mailBCC,$mailCC,$mailTo,$mailImportance,$mailFrom,$mailSubject,$mailBody,$mailRef="WAUE")     {


to:

php:
function WAUE_SendMail($mailObj,$mailAttachments,$mailBCC,$mailCC,$mailTo,$mailImportance,$mailFrom,$mailSubject,$mailBody,$mailRef="WAUE")     {
    $htmlEmail = $mailBody;




then change:

php:
$_SESSION[$mailRef."_Body"] = $mailContent;



to:

php:
//$_SESSION[$mailRef."_Body"] = $mailContent;
$_SESSION[$mailRef."_Body"] = $htmlEmail;
Sign in to reply to this post

DarylBeta Tester

Thank you Jason

I have made the changes and look forward to seeing the results after the client has tested it.

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