how-to_‎ > ‎

Patch to Mass Mail Wordpress Plugin to support special characters and quotes

posted Nov 5, 2012, 2:36 PM by Daniele Albrizio
9c9,10

---
>
> Version: 1.1 Modified by Daniele Albrizio 20121106 - Added utf8 decoding support
78,79c79,80
<   $subject=$_POST['subj'];
<   $messagesend=$_POST['message'];
---
>   $subject=stripslashes($_POST['subj']);
>   $messagesend=utf8_decode(stripslashes($_POST['message']));
84c85
<         mail($mailto, $subject, $messagesend , "From:".$fromadmin."\nReply-To:".$fromadmin."\n");
---
>         mail($mailto, "$subject", "$messagesend" , "From:".$fromadmin."\nReply-To:".$fromadmin."\n");
180c181
< ?>
\ No newline at end of file
---

ċ
MassMail.zip
(15k)
Daniele Albrizio,
Nov 5, 2012, 2:36 PM
Comments