send post by mail with phpmailer
-
Hi everyone,
I try to post in my blog (myblog.wordpress.com) by mail,
I try from gmail, roundcube (on my own server) it’s ok, but I try from my background admin website with phpmailer 5.1 (using smtp gmail) and this don’t work :/my php script for send mail (from my website) work with all domain (gmail, own domain, hotmail…).
I try my email adress (for send post to @post.wordpress.com) with roundcube, and it’s work …
Just using phpmail or php mail() function don’t work.So myblog.wordpress.com have mail restriction or I have a problem with my script ?
I think width email header :
X-mailer : PHPMailer 5.1 (phpmailer.sourceforge.net)
??Thank for your help (and sorry for my english … :/ )
-
Don’t apologize for your english, I understood you just fine.
I think this is beyond us volunteers here in the forums, so I would suggest contacting staff directly on this at http://en.support.wordpress.com/contact/ .
-
I wait tomorrow for contact staff, just in case of someone have an idea …
Thank for your answer ;)
-
-
Ok … Great news for me … Just a header’s mail problem …
Now I have some problems with [TAG], [END] to solve but not a big deal ;)I post my “temp” solution with php mail() (phpmailer + smtp gamil later) :
$headers .= “Date: “. date(“D, j M Y H:i:s”).”n”; //date;
$headers .= “From: <(email visible only to moderators and staff)>n”; // your mail
$headers .= “To: ”blog” <(email visible only to moderators and staff)>n”; // mail to post
$headers .= “Content-Type: text/plain; charset=ISO-8859-1; format=flowed n” ; // you can change ISO-8859-1 to UTF8
$headers .= “Content-Transfer-Encoding: 7bitn”;$param = “-f <(email visible only to moderators and staff)>”; // your mail
return mail(
‘(email visible only to moderators and staff)’,
’tilte width no tag’,
‘Your message body HTML allowed‘,
$headers,
$param
);My problem is in (hum … strange …) :
Content-Type / $param = “-f ..” / Content-Transfer-EncodingNow thats work fine ;)
- The topic ‘send post by mail with phpmailer’ is closed to new replies.