![]() |
Email form - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12) +--- Thread: Email form (/showthread.php?tid=80326) |
Email form - magiwells - 10-18-2021 My site is live thanks for all your help. Today I got a email that was submitted from my site. There is link back to my site that has a bunch of random text in the Message: ------- Name: Robertvar Email: [email protected] Subject: Judjfefehgje hfejfwhfjkfvjegj jefkkfejfej kfejkfekgrkhrkkgrj Message: mysite.com teyiuwoiwfheujsmdcshflisjdalfjedbfsjhsgdhwyfeudjnfwhdgjkfbefjhdwsfjvnskhfbsjfnvshfbasnjkfbdjvgbfgjkd -------------- I assume this is a bot, Is there any security concerns? here is my code for the email function Code: public function sendEmail() RE: Email form - includebeer - 10-18-2021 Yes this is probably a spam bot testing if it can abuse your email form. You can enable the honeypot filter to trick the bots: https://codeigniter.com/user_guide/libraries/honeypot.html I don't know how effective it is, but it's worth a try. You can also add some Captcha script. It's annoying for the users but it filters the junk. |