MailPoet and Mailgun via API Email Shows HTML code
-
I have been using MailPoet along with the wpMandrill plugin (with MailPoet sending via WP-Mail and wpMandril configured as API) and this works fine.
However when I try and use it in conjunction with the MailGun plugin (also via API) the email is received but there is some confusion as to whether it is text or HTML (I suspect) as the first lines of the email are:-
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” >
<head>
<meta http-equiv=”Content-Type” content=”text/html;charset=utf-8″ />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″/>
<title>Upper Lansdowne Spring Play bookings open!</title>
<style type=”text/css”>body {
width:100% !important;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
margin:0;
padding:0;
}Is there anything I can do to avoid this?
Thanks in advance
Al
- The topic ‘MailPoet and Mailgun via API Email Shows HTML code’ is closed to new replies.