Order email arrived displaying HTML code

Posted By mountier Mon 13 May 2013
Add to Favorites1
Author Message
mountier
 Posted Mon 13 May 2013
Supreme Being

Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)Supreme Being - (23,196 reputation)

Group: Forum Members
Last Active: Sat 22 Nov 2014
Posts: 35, Visits: 71
The order confirmation that has been received for the first live test order was received but the contents were displayed as HTML, it looks as if the charset wasn't being used.

When test orders were placed they worked fine and the emails delivered without any issues. The only difference between the test and live order was that the test ones were carried out as PO Offline orders and the live was made via PayPal.

Is there any obvious reason/solution for this?
Paul Marked As Answer
 Posted Tue 4 Mar 2014
große Käse

große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)große Käse - (522,798 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
The two email sends are in the callback.aspx.vb file in the root of the site. There are comment blocks that headline both the mail send to customer, and to store admin.

Whether HTML is used or not should depend on the same boolean value for both (at least in the latest file I can see which is checked into codeplex);

SendEmail(strFromEmail, UsersBLL.GetEmailByID(O_CustomerID), GetGlobalResourceObject("Email", "Config_Subjectline") & " (#" & O_ID & ")", strCustomerEmailText, , , , , blnUseHTMLOrderEmail)

And the store owner email:
SendEmail(strFromEmail, LanguagesBLL.GetEmailTo(1), GetGlobalResourceObject("Email", "Config_Subjectline2") & " (#" & O_ID & ")", strStoreEmailText, , , , , blnUseHTMLOrderEmail)


(note the true/false value 'blnUseHTMLOrderEmail')


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Tue 4 Mar 2014 by Paul

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top