spam

Quick and easy flood protection?

不问归期 提交于 2019-12-18 11:55:53
问题 I have a site where a user submits a message using AJAX to a file called like.php . In this file the users message is submitted to a database and it then sends a link back to the user. In my Javascript code I disabled the text box the user types into when they submit the AJAX request. The only problem is, a malicious user can just constantly send POST requests to like.php and flood my database. So I would like to implement simple flood protection. I don't really want the hassle of another

Online SpamAssassin evaluation / RFC conformant check [closed]

此生再无相见时 提交于 2019-12-18 10:55:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I want to check the SpamAssassin SPAM score of E-Mails including headers generated by a script from a WebApp. Therefore I need to run this mail through SpamAssassin to get the specific SPAM headers like: Yes, score=6.032 HTML_IMAGE_ONLY_24=1.282 HTML_MESSAGE=0.001 HTML_MIME_NO_HTML_TAG=0.635 MIME_HEADER_CTYPE

Decrypt obfuscated perl script

不羁的心 提交于 2019-12-18 03:24:29
问题 Had some spam issues on my server and, after finding out and removing some Perl and PHP scripts I'm down to checking what they really do, although I'm a senior PHP programmer I have little experience with Perl, can anyone give me a hand with the script here: http://pastebin.com/MKiN8ifp (It was one long line of code, script was called list.pl) The start of the script is: $??s:;s:s;;$?::s;(.*); ]="&\%[=.*.,-))'-,-#-*.).<.'.+-<-~-#,~-.-,.+,~-{-,.<'`.{'`'<-<--):)++,+#,-.{).+,,~+{+,,<)..})<.{.)-,

What is the best practice to send emails from PHP script?

不羁的心 提交于 2019-12-17 19:22:00
问题 I hope this question wont be too specific. But I really need to ask. We all know that we cannot fully prevent our emails to go to spam box right? But I guess we can decrease the #of emails that goes there. Till now, I use PHP's built-in function mail() but I guess there are other methods right? What are they and what is your best practice for this prblem? Also is there a way to sending emails through Google Appspot? Thanks! 回答1: A hosted service may be a better way to go. They've developed

mail delivered as spam - phpmailer, how to avoid

荒凉一梦 提交于 2019-12-17 18:51:34
问题 I know that in first look many users mark this question as duplicate, but after reading more than 10 question I did not get any satisfactory answer, almost all question has answers having words like "There's not much you can do about it.", "I am not sure", "There is no sure shot trick" etc. that's why I am writing this question, and I think this is very generalized questions and every php developer faces it at least once, ok enough speech :) , now my question is.. I working on a project

PHPmailer sending mail to spam in hotmail. how to fix?

落花浮王杯 提交于 2019-12-17 15:35:19
问题 I'm using the phpmailer class to send emails. Currently gmail and yahoo do not mark emails as spam, but hotmail always does. How can I prevent this? My code is below. require_once('../PHPMailer/class.phpmailer.php'); //include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded $mail = new PHPMailer(); $mail->IsSMTP(); // set mailer to use SMTP $mail->Host = "mail.example.com"; // specify main and backup server $mail->SMTPAuth = true; // turn on

Effective method to hide email from spam bots

匆匆过客 提交于 2019-12-17 01:36:30
问题 On my homepage, I'm using this method to hide my email from spam bots: <a href="admin [at] example.com" rel="nofollow" onclick="this.href='mailto:' + 'admin' + '@' + 'example.com'">Contact me</a> What do you think about it? Is it effective? What other methods do you know or use? 回答1: This is the method I used, with a server-side include, e.g. <!--#include file="emailObfuscator.include" --> where emailObfuscator.include contains the following: <!-- // http://lists.evolt.org/archive/Week-of-Mon

Using PHPMailer Results in many blocked emails

爱⌒轻易说出口 提交于 2019-12-13 16:14:02
问题 I am using PHPmailer; though probably a version from 2012 - I haven't updated it for a while. I am sending mail like this: $mail = new PHPMailer(); $mail -> IsSMTP(); $mail -> Host = "localhost"; $mail -> Port = 587; $mail -> SMTPAuth = true; $mail -> Username = EMAIL_USER; $mail -> Password = EMAIL_PASS; $mail -> From = EMAIL_USER; $mail -> FromName = "My Company"; $mail -> AddAddress($email); $mail -> AddReplyTo('<Same as "FROM">', 'User Name'); $mail -> IsHTML(true); $mail -> Subject =

PHP mail goes in spam and inbox [duplicate]

时光总嘲笑我的痴心妄想 提交于 2019-12-13 09:37:35
问题 This question already has answers here : sending mail with php & escaping hotmails junk folder (4 answers) Closed 6 years ago . I am using simple PHP mail function to send mail. Here is my code: sendEmail('xyz@gmail.com', 'test subject', 'test body', 'xyz name', 'abc@gmail.com', 'HTML'); function sendEmail($to, $subject, $body, $fromName, $from, $format = '') { $headers = ''; if($format=='HTML') { $headers .= "Content-type: text/html; charset=iso-8859-1\n"; } $headers .= "From: $fromName <

Do form submissions by spam bots ever pose a security risk? [closed]

陌路散爱 提交于 2019-12-13 08:45:39
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . A spam bot has found my sign-up form and is filling my database with spam submissions. The form is a basic asp.net registration that creates a new membership user and captures account information such as name, address, phone, etc. Rather than implement a captcha I plan to try a honeypot field. However, my