Hi
I update my SMF from 2.0.5 to 2.0.8 and I receive this report from my CPANEL :
/home/amirali/public_html/forum2/Sources/Subs-Post.php:86: string headers)
/home/amirali/public_html/forum2/Sources/Subs-Post.php:87: - sends mail, like mail() but over SMTP. Used internally.
/home/amirali/public_html/forum2/Sources/Subs-Post.php:88: - takes email addresses, a subject and message, and any headers.
and 1 days later my data center mail me that Im sending SPAM with admin account on SMF.
Subs-Post.php code are these :
bool smtp_mail(array mail_to_array, string subject, string message,
string headers)
- sends mail, like mail() but over SMTP. Used internally.
- takes email addresses, a subject and message, and any headers.
- expects no slashes or entities.
- returns whether it sent or not.
thanks for your helps
Was there a question in there, somewhere?
Looks like smf is doing exactly what it is supposed to be doing... How is sending notifications to users spam?
data center told me that SMF dont use any header for emails on this Code.
I think its other BUG on SMF for non UTF8 sites on PHP 5.4 :(
How can it be a bug? People are getting notifications that they've asked for.
Your datacentre must be weird...
Quote from: K@ on September 21, 2014, 01:09:26 PM
How can it be a bug? People are getting notifications that they've asked for.
I detect that the notification emails are sending empty !!!!
emails have subject but the body text is empty !
That's rather different from it sending Spam...
So... To try and correct that, assuming you want the mails sent (I'm confused, about that), we'll need some information. What mods do you have? Is there anything in your error-logs? Did they used to work? If so, what's changed, since the?
That kinda thing. Useful stuff.
Also, an examp,e of your proof that the emails are empty...
I update my SMF from 2.0.5 to 2.0.8 and my PHP from 5.2 to 5.4
after that I see that errors.
when you sending empty emails it can be as spam for data centers (I guess that!)
my error log on Forum folder is empty ! can I active or inactive system error log?
thanks
I believe there may be an issue with PHP 5.4 on non-UTF-8 forums.
Quote from: Arantor on September 21, 2014, 01:32:08 PM
I believe there may be an issue with PHP 5.4 on non-UTF-8 forums.
yes I think you are right :(
hope 2.0.9 can fix this problem
Or you could convert to UTF-8.
my database is 1.2GB !!!
I convert to UTF8 on SMF1.0 and all the characters changed to ? ? ? ? ? ? :D
I should convert my database on local and manualy and its very hard. my forum is very very old and Im using more than 7 years of SMF and converting is hard for me .
So, backup, before you try it...?