wpsc_purchlog_email_trackid() and HTML content

9 views
Skip to first unread message

Leif-Arne Helland

unread,
Dec 2, 2012, 5:45:31 PM12/2/12
to WordPress e-Commerce Plugin Development
I would like to use HTML in the Tracking ID email to the customer, but
wpsc_purchlog_email_trackid() sends the email as plain text. Is there
a way to enable HTML in this email, maybe using action or filter,
without editing WP e-Commerce source files? If not, I would like to
suggest this as a feature request.

Zao Web Design, LLC

unread,
Dec 2, 2012, 6:08:29 PM12/2/12
to WordPress e-Commerce Plugin Development
Hi Leif,

To be honest, this Google Group is probably a close analogue to the wp-hackers mailing list.  By that, I mean if you're wanting any traction on a feature request or idea, this is probably not the place to get it.  At the moment, the Google code site is probably best for that.

That said, _wpsc_ajax_purchase_log_send_tracking_email() is where the email is sent from, and it's just a wp_mail() call.  wp_mail() has all the subject/content-type filters you'd need to conditionally set the content-type to text/html.  Let me know if you need any more pointers on that.


Thanks,

M. Justin Sainton
Zao Web Design, LLC
Principal / Project Manager
http://www.zaowebdesign.com
(c) 971.222.6330
(f) 1.413.723.0396




--
You received this message because you are subscribed to the Google Groups "WordPress e-Commerce Plugin Development" group.
To post to this group, send email to wordpress-e-c...@googlegroups.com.
To unsubscribe from this group, send email to wordpress-e-commerc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wordpress-e-commerce-plugin?hl=en.


Nick Price

unread,
Dec 2, 2012, 5:47:32 PM12/2/12
to wordpress-e-c...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages