How to set a multipart body in wpcf7 before_send_mail??
-
In a wpcf7_before_send_mail function i add a custom html body like so
$mail2['body'] .= get_email_styled_en();
function get_email_styled_en(){ ob_start(); require_once 'email_style_ticket_en.php'; $returner = ob_get_clean(); return $returner; }
this works, but i also need a plain/text part, how can i do this???
When i just add text in contact form 7 body 2 textfield, the plain text displays above my html content
regards,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to set a multipart body in wpcf7 before_send_mail??’ is closed to new replies.