I’m wanting to send an email via smtp hostgator, through the “send email” node, I even get a positive response on n8n but the email doesn’t reach the recipient
If the email is being accepted but not delivered, that is unlikely to be on the N8N side.
You need to check your email delivery - most likely it is going to the spam folder or being rejected by the receiving server.
And in that case, it’s most likely due to SPF/DKIM not being configured correctly, or possibly that Hostgator IP is on a blacklist (Hostgator is not exactly known for being a reputable email delivery service).
I checked the inbox and the “spam” and it didn’t really arrive, I’ll check the SPF/DKIM. I also installed the “wp mail smtp” plugin on wordpress and it worked perfectly, so I thought it was on n8n
I noticed you are sending to a Gmail account - and your sending email has ‘comercial’ aka “commercial” in the name. Check the Promoted folder in Gmail to make sure you didn’t wind up there. Also check your HostGator email logs - they should be confirm whether the message was at least delivered to the Gmail servers: Can I Get a Copy of My Email Logs? | HostGator Support
I had this problem with Hostgator, their support couldn’t give a solution, so I switched to Zoho Mail
Now it came to my mind, use an SMTP service like SendGrid, I’ve been using their API to send transactional messages…there’s a node of this service in the n8n… do a test with their free plan and see if it works
Hi @Claudio_Balbino, I just translated your post into English to make it easier for everyone to follow the conversation. Would be cool if you could post in English going forward (or use our Portuguese Discord channel for chatting about n8n in Portuguese)
On the actual topic, I’d say +1 for Sendgrid. I am using it for my private n8n instance and didn’t have trouble so far. They also support SMTP quite well (= on all relevant ports, with both SSL and STARTTLS) and guide you through verifying your domain setup in their UI.
Good morning gentlemen, sorry for the delay in responding, I was doing some tests and identified the following: when I send an email by “send email” to a recipient of the hostgator itself, such as [email protected], it works properly. but when I send it to an email from gmail, hostgator simply does not generate any log, n8n accesses the hostgator account, but cannot send the message, there must be something in hostgator itself that prevents this. another thing I identified by mail-tester.com that my email "[email protected] is on two blacklists, I don’t know if this interferes, even so I sent it to another email “[email protected]” and it wasn’t. all the gmail labels like “spam”, “promoted”, etc. but I didn’t really get it.
Sorry for the delay in responding, I was doing other tests and finally I ended up joining sendgrid, I added the hostgator email in it and configured it in the “sendgrid” node of the n8n it worked perfectly, not satisfied I also configured the “send email” node and it worked normally, sendgrid helped me.