Gmail notifies that email is usually used to steal information when I use content-type ="text/html; charset=utf-8"

Asked

Viewed 343 times

0

I use the Gmail API to send email’s marketing, and always respect anti-spam limits and standards. And yesterday I started sending mass emails, on average 2,000 a day, but after a while I realized that users receive the following information:

inserir a descrição da imagem aqui

And it affects trust, my email has an HTML that just redirects users to links from my site, where it has free images for example. I went to investigate the motive and removed the content-type ="text/html; charset=utf-8" My email header and the message is gone, but my email has become plain text, it no longer reads like HTML.

Note:. I wonder if you can fix this in any way, I use the Gmail API (not SMTP) with C#.

EDIT: I ran a test and sent it via Gmail SMTP and it does not notify how spam ie I am having this problem in specific with the DO API GMAIL

  • Destination links are from the same domain as the account that sends the email?

  • They are, all without exception

  • I did a test now, and when sending by SMTP it does not notify SPAM, when I send by GMAIL API yes

  • in sending by smpt you put the content-type as html or left only in html markup?

  • 2

    Saying that email marketing is not spam is like saying that water is not wet.

  • @Renan Spam is you send 300 million emails to the same person, insist on it... email marketing is not spam if you have a certain control over it

  • @Leandroangelo pus content type html certinho !

  • @Renan email marketing is not SPAM when the recipient agreed to receive when signed up to the sender under notice that this could happen, and that in the message contains an exclusion link (opt-out).

  • @dvd I understand the legality and lawfulness of the web/click wrap, but my opinion on electronic membership contract is the same as Neil Gaiman’s: even Satan could not be as cunning as the people who do it.

  • @Renan Yeah, but that’s how it works.

Show 5 more comments

2 answers

4


If you do not want your spam sent via API to be marked as spam by Gmail, let’s see what the documentation says.

And there it says, and I paraphrase:

The Gmail Postmaster Tools provides senders with metrics for parameters such as reputation, spam rate, feedback loop, etc. This can help you verify compliance with the guidelines for Gmail bulk email senders, as well as identify problems with the spam filter.

I mean, here you see how you stand before the Alphabet.

Further down there is an important detail. My emphases:

The ratings of emails depend a lot on what is reported by users. Gmail users can mark or deselect messages as spam and move messages that are not spam between the Inbox tabs. In both cases, Gmail learns from user fixes and in time, automatically adjusts the rating according to user preferences.

In other words, it’s not enough to just do everything the way they direct it. If even following everything to the letter you annoy Gmail users, it is marked as spammer and period.

Moving forward, there are hints of what else can cause a message to be considered spam:

Authentication ensures that your messages are correctly classified. Emails without authentication are likely to be rejected or placed in the "Spam" folder, due to the high risk of being fake messages used in phishing scams.

Moreover:

The sender domain must pass the SPF or DKIM checks. Otherwise, the email may be marked as spam.

Your recipients must have previously agreed to receive your emails. Otherwise, if Alphabet finds out you didn’t follow this rule, your messages are spam and that’s it. Many spammers end up falling into the spam filter because of just this rule:

Each user on your distribution list should choose to receive your messages in one of the following ways:

  • By means of an email requesting the subscription to your list.
  • Manually marking a checkbox in a web form or software.

And yet:

To help ensure that your messages are not marked as spam, we also recommend that you:

  • Automatically unsubscribe users whose email addresses reject multiple emails.
  • Periodically send confirmation messages to users.
  • Include every list of emails they’ve signed up to and offer the opportunity to unsubscribe from lists that users are no longer interested in.

And finally, a rule that’s hard to get around:

If your brand becomes associated with affiliate marketing spam, it may affect the emails you and your other affiliates send.


So you ask, why didn’t your email sent via SMTP go wrong? If I have to guess, it’s because the process of sending via SMTP can be more laborious for the sender, which is why the AI that checks your emails should think it’s a test or a "handmade" email (rather than mass/chain mail). From both professional and personal experience I can assure you that a system that sends many emails in this way - for any kind of messages, such as a system status, or SAC message exchange - ends up being marked as spam source faster than you are able to say "help", and recidivism takes account closure.

  • Renan, I get it, here at the company we set up both SPF and DKIM, we respect that limit of the GMAIL API 32 emails per minute, and the other rules of Google(type by the letter)... We can solve. You commented on authentication, we sent a ticket to Google and asked us to authenticate the email... I don’t know if it’s related to what you meant... but solved it. + 1 and I will mark the answer ;)

  • Renan, now... answer me a question since you have more experience here. Why was my question so negative? maybe because they think I’m the spammy nut?

  • @Leonardobonetti when it comes to email marketing, there are only two types of people: who thinks it’s spam and who sends the emails. It is a fact that most companies that do this, including in Brazil, do not respect the opt-out. Especially if you don’t have an email account at a large email provider like Gmail or Yahoo! Mail...

  • Got it @Renan ;) thanks

  • @Leonardobonetti I have my own email service and protect my account with white list, that is, I only receive messages from addresses that I previously registered, by hand. When I see my server’s blacklist, I see that I receive approximately 950 "marketing" emails a day. Emails that I don’t care about. I did an experiment in 2015 and tried to opt-out from those lists. About 3% honored the opt-out. Who uses Gmail or another service doesn’t see as many emails because these services filter out most of the noise.

  • CA RA CA, I HAD NO IDEA IT WAS THAT LEVEL !

  • @Leonardobonetti late Christmas present for you. Read all and be surprised: https://litmus.com/blog/the-ultimate-guide-to-international-email-law-infographic. in some countries you have one month to honor opt-out. In some countries you pay more than two million reais in fine if you fail to do so. And yet the problem persists, because most of SPAM comes from the third world (and Brazil is a big part of it).

  • Opa, best impossible ! , thanks Renan, including I was interested in the idea of the email service itself, I will look for more to know ;)

Show 3 more comments

-3

  • 1

    The author of the question commented in the only answer that this solution does not work ;) Gmail’s anti-spam filter involves sophisticated machine learning enough not to be fooled by something so trivial.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.