Questions tagged [email-spam]

Spam is the use of electronic messaging systems to send unsolicited bulk messages indiscriminately.

E-mail spam, known as unsolicited bulk Email (UBE), junk mail, or unsolicited commercial email (UCE), is the practice of sending unwanted e-mail messages, frequently with commercial content, in large quantities to an indiscriminate set of recipients. Spam in e-mail started to become a problem when the Internet was opened up to the general public in the mid-1990s. It grew exponentially over the following years, and today composes some 80 to 85% of all the email in the world, by a "conservative estimate". Pressure to make e-mail spam illegal has been successful in some jurisdictions, but less so in others. Spammers take advantage of this fact, and frequently outsource parts of their operations to countries where spamming will not get them into legal trouble.

Why Did My Email Land in the Spam Folder?

Because the recipient had a filter in place. There is no way you can influence what the recipient does to block or accept your email, and hence, there is no programmatic solution to this problem. (If there was a way to make sure the email your program sends is delivered to the recipient, spammers would promptly start doing that, mail server administrators would prompty respond, and then it would no longer work.) Therefore, questions about email deliverability are off-topic for StackOverflow. See also this meta question.

310 questions
11
votes
3 answers

Whitelisting website email so it is not rejected as spam

What are the processes I need to go through to make sure emails sent from my web server are not rejected as spam? This question is for legitimate site emails that members have requested like a daily newsletter which is generated and run in a…
Micah B.
  • 1,097
  • 4
  • 13
  • 27
10
votes
4 answers

Good non-intrusive anti-spam email obfuscator?

I'm trying to come up with a JavaScript email obfuscator to reduce the chance for spam in emails listed on a web site. Right now I've got a JavaScript based obfuscator that uses a combination of HTML encoding & JavaScript to convert an obfuscated…
Dan Herbert
  • 99,428
  • 48
  • 189
  • 219
10
votes
4 answers

Is it possible to decode a SPAMCAUSE field in a mail header?

I'd like to decode this string: X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelgedrvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgohfhorhgsihguuggvnhfjughrucdlhedttddm How can I do this?
Sylvain Huck
  • 141
  • 1
  • 5
9
votes
4 answers

Everytime my mail goes to spam in phpmailer

Here are my codes for sending mail: $fullname = $_POST['fullname']; $email = $_POST['email']; $telephone = $_POST['telephone']; $email = $_POST['email']; $date = $_POST['date']; $time = $_POST['time']; $adult =…
sujal
  • 1,058
  • 3
  • 18
  • 29
9
votes
2 answers

SPF for subdomain to avoid email spam

SPF is a powerful method to avoid blocking the emails as spam. However, setup of SPF is normally for the main domain, and I was unable to find setting for subdomain, and I am not sure if it is effective at all. I want to setup my email server on…
Googlebot
  • 15,159
  • 44
  • 133
  • 229
9
votes
1 answer

How do I setup SPF to Pass for Mailchimp, SES and EC2 so that DMARC doesn't partially failing due to misalignment

One of my websites sends emails from various sources including: Mailchimp Mandrill Mailgun Amazon SES From the server itself We have correctly configured SPF & DKIM settings for all of the sources so we decided to add DMARC too and at the same…
Ryflex
  • 5,559
  • 25
  • 79
  • 148
9
votes
3 answers

Serve images in emails from http or https?

Does it make a difference at all whether I serve the images in an email campaign from an encrypted domain? Will this make emails less likely to end up in a client's spam folder?
Charles Ingalls
  • 4,521
  • 5
  • 25
  • 33
8
votes
1 answer

Can custom email headers trigger spam filters?

We do a lot of mailing and we use Sendgrid to give it unique arguments and categories. But for storage, archiving, filtering and search capabilities, I would like to give them some other custom headers too, something like a json format of this…
Swader
  • 11,387
  • 14
  • 50
  • 84
7
votes
8 answers

Why not use email address in unsubscribe link

Give me few reasons why NOT to include email addresses in plain text form for unsubscribe link that gets sent out in our newsletters. Right now it's: xyz.net/unsubscrible?uid=123&email=user@domamin.com I am pushing for:…
xoail
  • 2,978
  • 5
  • 36
  • 70
7
votes
6 answers

How to write spam filter

I'm stuck in having to write a simple spam filter I'm not really sure about how I'm going to do it. So far I've come up with wordlist and domain filtering, which will give or remove points up to a certain threshold. For example, if you're writing…
Eric
  • 19,525
  • 19
  • 84
  • 147
7
votes
5 answers

Send thousands of emails at a time, pitfalls/best way?

Im writing a tool c# (and System.Net.Mail) which will be sending around 4000 emails fornigtly. Can i simply loop through a list of 4000 email addresses and send emails one at a time? or will this cause any potential problems? Is there a better way…
raklos
  • 28,027
  • 60
  • 183
  • 301
7
votes
2 answers

X-Message-Delivery in Hotmail Messages

Recently I stared deciphering the hotmail inbox/junk folder placement. After long searching I found out that Hotmail/Outlook is using their X-Message-Delivery tag they input in each mail, to determine alot of things. If you go to source of an e-mail…
Jack Slayer
  • 71
  • 1
  • 3
7
votes
7 answers

How safe is javascript e-mail obfuscation really?

In order to put e-mail addresses on my sites, I use this Javascript: function showEmailLink(user, domain, linkText) { if (linkText == "") { linkText = user + "@" + domain; } return document.write("
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
7
votes
1 answer

GMX's "Text Pattern Profiler" blocks transactional emails in English

My web application is sending transactional emails to its users (like "You received a payment", "Please activate your account", "Your article has been sold"). GMX users report regularly that those emails are marked as SPAM because of the "Text…
lacco
  • 882
  • 1
  • 10
  • 24
6
votes
1 answer

Zend_Mail sent email is treated as SPAM

Please tell me what I am doing wrong. I am sending an email using the Zend_Mail class like this: $message = <<
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
1
2
3
20 21