Replies: 4 comments 13 replies
-
So I tried to debug this part where I send the mail. // https://github.com/adonisjs/mail/blob/36fee9d60eee26a4f0e1b710d34799da8ed71703/src/Mail/Mailer.ts#L67
const response = await this.driver.send(mail.message, mail.config); I have no clue of what's going on here. |
Beta Was this translation helpful? Give feedback.
-
When I debug in VScode, I can see what's the line that seems to block is that: then(onFulfilled, onRejected) {
// eslint-disable-next-line promise/prefer-await-to-then
return this._promise.then(onFulfilled, onRejected);
} This comes from the package pcancelable, if that can help to find the issue |
Beta Was this translation helpful? Give feedback.
-
Did anyone have this issue ? How can I test this behaviour more to find from where this problem comes ? |
Beta Was this translation helpful? Give feedback.
-
Yea I did and it works as you expect, the mails is sent without any issue on my side. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm using the @adonis/mail package to send mail with mailgun and I'm facing a weird issue. Here my code
The issue is that the
Mail.send
never ends andreponse.ok
is never called. Howver the mail is well sent to the address I give.I tried to restart of course but without success.
Do you have an idea of what the problem is ?
Beta Was this translation helpful? Give feedback.
All reactions