Hey Floks , I am trying to configure SMTP setup using Nouvel onglet (sendpulse.com). I am getting error of Failed to send magic link email.
Let me know How To Fix This Error. Much Appreciated
You can try it : https://quikseekr.com
.
Hey Floks , I am trying to configure SMTP setup using Nouvel onglet (sendpulse.com). I am getting error of Failed to send magic link email.
Let me know How To Fix This Error. Much Appreciated
.
How did you set up your smtp (show us your configuration file – but remove any secrets and passwords)?
What do your Ghost logs say? (ghost log
)
"mail": {
"transport": "SMTP",
"options": {
"host": "smtp-pulse.com",
"port": 587,
"secureConnection": true,
"auth": {
"user": "mail@quorapedia.com",
"pass": "u___________"
}
}
},
For port 587 the secure
property should be set to false
.
Doesn’t mean it’s insecure, see here for more info.
(Also, I am not sure if secureConnection
will work – I have only seen secure
in the Ghost documentation)
Works test OK but in my website show field send majic link
Connected to smtp://smtp-pulse.com:2525/?starttls=always
<< 220 smtp-pulse.com ESMTP SnedPulse SMTP Server
>> EHLO [172.31.11.248]
<< 250-smtp-pulse.com Nice to meet you, [54.212.131.181]
<< 250-PIPELINING
<< 250-8BITMIME
<< 250-SMTPUTF8
<< 250-AUTH PLAIN LOGIN
<< 250 STARTTLS
>> STARTTLS
<< 220 Ready to start TLS
>> EHLO [172.31.11.248]
<< 250-smtp-pulse.com Nice to meet you, [54.212.131.181]
<< 250-PIPELINING
<< 250-8BITMIME
<< 250-SMTPUTF8
<< 250 AUTH PLAIN LOGIN
>> AUTH PLAIN AGJlbGhhY2hlbWlhbW9oYW1tZWRAZ21haWwuY29tAGJMUzNBV2dtTUpO
<< 235 Authentication successful
>> MAIL FROM:<mail@quorapedia.com>
>> RCPT TO:<belhachemiamohammed@gmail.com>
<< 250 Accepted
<< 250 Accepted
>> DATA
<< 354 End data with <CR><LF>.<CR><LF>
>> From: mail@quorapedia.com
>> Date: Sat, 29 Jun 2024 18:07:08 퍍
>> Subject: SMTP test from smtp-pulse.com
>> Message-Id: <AKFQB9W2GNU4.AA1KLRCC46LM2@WIN-AUIR3RRGP88>
>> To: belhachemiamohammed@gmail.com
>> MIME-Version: 1.0
>> Content-Type: multipart/alternative; boundary="=-k7YDDEZxpidtB3pp5ZunDA=="
>>
>> --=-k7YDDEZxpidtB3pp5ZunDA==
>> Content-Type: text/plain; charset=utf-8
>>
>> Test message
>> --=-k7YDDEZxpidtB3pp5ZunDA==
>> Content-Type: text/html; charset=utf-8
>> Content-Id: <AKFQB9W2GNU4.X6HNAYO022OT3@WIN-AUIR3RRGP88>
>>
>> <b>Test message</b>
>> --=-k7YDDEZxpidtB3pp5ZunDA==--
>> .
<< 250 OK: message queued. Message-ID: sfuszx-0ls3vq-73
Come on. Put a little bit of effort into this.
You are asking for free help here. I literally had to search the screenshot for any clue to what you’re asking for.
And once again: please do the basics. Post your logs. Post your configuration. Most importantly, however, please search the forum. This error has been brought up lots of times and I bet that the answer to your specific issue is somewhere in here already.
[2024-07-21 20:18:41] INFO [Recommendations] Updating recommendations metadata
[2024-07-21 20:19:00] INFO Updating incoming recommendations on boot
[2024-07-21 20:19:19] ERROR "POST /members/api/send-magic-link/" 500 2141ms
NAME: EmailError
CODE: EAUTH
MESSAGE: Failed to send email. Reason: Invalid login: 535 5.7.8 Error: authentic ation failed: .
level: normal
"Please see https://ghost.org/docs/config/#mail for instructions on configuring email."
Error: Invalid login: 535 5.7.8 Error: authentication failed:
at createMailError (/var/www/quikseekr_com/versions/5.86.2/core/server/servi ces/mail/GhostMailer.js:105:12)
at SMTPConnection._formatError (/var/www/quikseekr_com/versions/5.86.2/node_ modules/nodemailer/lib/smtp-connection/index.js:798:19)
at SMTPConnection._actionAUTHComplete (/var/www/quikseekr_com/versions/5.86. 2/node_modules/nodemailer/lib/smtp-connection/index.js:1577:34)
at SMTPConnection.<anonymous> (/var/www/quikseekr_com/versions/5.86.2/node_m odules/nodemailer/lib/smtp-connection/index.js:554:26)
at SMTPConnection._processResponse (/var/www/quikseekr_com/versions/5.86.2/n ode_modules/nodemailer/lib/smtp-connection/index.js:982:20)
at SMTPConnection._onData (/var/www/quikseekr_com/versions/5.86.2/node_modul es/nodemailer/lib/smtp-connection/index.js:763:14)
at SMTPConnection._onSocketData (/var/www/quikseekr_com/versions/5.86.2/node _modules/nodemailer/lib/smtp-connection/index.js:195:44)
at TLSSocket.emit (node:events:519:28)
at TLSSocket.emit (node:domain:488:12)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:191:23)
Check } }, "mail": { "transport": "SMTP", "options": { "host": "In-v3.mailjet.com", "port": 587, "secureConnection": false, "auth": { "user": "95ff15d49818ca2f8ab805b751a5a7cc", "pass": "......" } }, "from": "mail@quikseekr.com" },