"Invalid character used in email" in SEND TOPIC TO FRIEND

Started by PeterEkberg, May 17, 2017, 05:07:05 AM

Previous topic - Next topic

PeterEkberg

Seems as a bug as it is possible to send other mail as news.

I removed all text still same message.

SMF 2.0.14

Kindred

Confirmed...


click Send Topic

Enter details, plain text

response indicates the error, and the email is not sent
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

vbgamer45

Looks like this edit was wrong in sendtopic.php

if (filter_var($_POST['ryemail'], FILTER_VALIDATE_EMAIL) === false

Should be
if (filter_var($_POST['y_email'], FILTER_VALIDATE_EMAIL) === false



Edited to fix code tag (not sure why it wasn't done before now) ~ Steve
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

desertcities

Thank you!

This same error happened to me recently.  Glad I found the fix in a Google search.

Fixed.

:)

forumite

Thanks for the confirmation and the fix; It solved the issue for me/my members. Presumably this will be fixed in the next rev of SMF  ???

Arantor




Advertisement: