For further actions, you may consider blocking this person and/or reporting abuse
Read next
Adding Google Authentication in Next.js 14 with App Router: A Beginner-Friendly Guide
Sourav Mishra -
This is why i hate project based learning
Manu Nunez -
Creating a Multilingual Expense Tracker with Tolgee
Mayank Mohapatra -
Upgrading from Nextra v2 to Nextra v3: A "Quick" Guide
Giovambattista Fazioli -
Top comments (13)
I don't send spams 😅
Nice one 😁
Use email services like sendgrid or mandrill, use a domain well configured,
Send it from a trusted server,
No images in body, prefer text email with no more than 4 links.
I'm not an expert, but these are my rules to be sure to take a good start
I'm currently using NodeJS with sendgrid, but my email always end up in the gmail spam folder.
For testing purposes, I used my own gmail address as the sender, but it doesn't change anything.
Thank you for the images advice, I will try it.
Are your emails always end up in the inbox correctly ?
Thank you.
( Merci pour les conseils, c'est sympa de ta part (: )
Not always, but when it's happened, images are the first point that I check.
Maybe gmail filter your emails because you actually uses you email as sender.
With sendgrid a simple domain can be configured.
Maybe your email is not well formatted, check html syntax, or it is similar to a spam.
Or you just mark one of your testing email as spam and your inbox remember it.
For testing it's often that testing mail are flag spam.
Thank you for the advices.
I'm testing everything out and will write a follow up after I tried every
solutions.
Check your authority in SendGrid. If you find out the reasons for this BTW, I would love to know ...
I will once I'm done with testing, can't guarantee it will work though.
But I will write a follow up :)
Use a service like mailtrap for integration testing. They provide a feature to measure your email spam potential.
Great advice, thank you.
I already use mailtrap for integration, but never used it to check the spam potential.
I will try :)
We always do "double optin" before we start blasting. It might be obvious for most here, but I thought I'd mention it anyways ...
Well, I don't think I need double opt-in though.
The context is, I worked for a client as a freelancer with a friend. He wanted a simple landing page with a form for customers to contact him.
It's basically just an email sent by customers with the form on his website, directly into his inbox (which is a Gmail client).
Thank you for the advice anyway :)
Psst, reCAPTCHA - Believe me, you'll need it ... ;)