Closed ashishbinu closed 11 months ago
I also tried adding gmail.com as suggested in the error. But it shows can't add public domains error in the dashboard.
Hey!
You don't need to set RESEND_API_KEY
if you are using SMTP, so probably unexporting that env should fix the issue.
Hey!
You don't need to set
RESEND_API_KEY
if you are using SMTP, so probably unexporting that env should fix the issue.
It says the api key is required
@ashishbinu if you have the POP_SMTP_*
environments set, it should not give you that error:
❯ env | rg RESEND
❯ env | rg SMTP
POP_SMTP_HOST=smtp.gmail.com
POP_SMTP_USERNAME=public.email@gmail.com
POP_SMTP_PORT=587
POP_SMTP_PASSWORD=password
❯ pop
From public.email@gmail.com
To you@example.com
Subject Hello!
┃ # Email
┃
┃
┃
┃
┃
Attachments
No attachments.
Send
tab next • ctrl+c quit
@caarlos0 It's all set but it still shows the resend api key env variable required.
I just updated the pop to version 0.2.0 . the resend api is required is gone. But still some oauth error is there. Let me see if i can fix that.
@caarlos0 It's working now. As I had 2 factor authentication enabled had to create app password from google and replace the POP_SMTP_PASSWORD
with that app password.
Describe the bug Pop is not working with gmail. It is showing this error
To Reproduce Steps to reproduce the behavior:
pop
command.Expected behavior I believe it should send email without showing the error.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):