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 adm@angbrasil.com, 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 "presleymenezes@gmail.com is on two blacklists, I don’t know if this interferes, even so I sent it to another email “akpeletronics@gmail.com” and it wasn’t. all the gmail labels like “spam”, “promoted”, etc. but I didn’t really get it.
I also identified that hostgator did not generate a log when it is an external server, only when I sent it to itself
Return-Path: <comercial@angbrasil.com>
Delivered-To: adm@angbrasil.com
Received: from br542.hostgator.com.br
by br542.hostgator.com.br with LMTP
id ePgSO0ima2PanQQAnTs0pg
(envelope-from <comercial@angbrasil.com>)
for <adm@angbrasil.com>; Wed, 09 Nov 2022 10:08:24 -0300
Return-path: <comercial@angbrasil.com>
Envelope-to: adm@angbrasil.com
Delivery-date: Wed, 09 Nov 2022 10:08:24 -0300
Received: from [20.79.72.36] (port=62784 helo=[127.0.0.1])
by br542.hostgator.com.br with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.95)
(envelope-from <comercial@angbrasil.com>)
id 1oskoa-001UUf-Md
for adm@angbrasil.com;
Wed, 09 Nov 2022 10:08:24 -0300
Content-Type: text/plain; charset=utf-8
From: comercial@angbrasil.com
To: adm@angbrasil.com
Subject: lorem ipsum
Message-ID: <b752bbf3-5442-d91e-049a-75193b10fa2e@angbrasil.com>
Content-Transfer-Encoding: 7bit
Date: Wed, 09 Nov 2022 13:08:21 +0000
MIME-Version: 1.0
lorem ipsum
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.