문제

as per https://mandrillapp.com/api/docs/messages.php.html there is an auto_text parameter when sending an email via the Mandrill API. How does this work? If I leave out the text parameter will it automatically strip out HTML entities and generate a text only version of the email?

e.g. If my HTML email looks like:

Testing, testing 123

Will it just show Testing, testing 123 as the text content?

cheers, Jeremy

도움이 되었습니까?

해결책

Yep, that's the idea. It will convert the HTML portion of the email to a plain-text version without HTML markup so you don't have to do it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top