charmbracelet / pop

Send emails from your terminal 📬
MIT License
2.36k stars 49 forks source link

POP_FROM ignored on POP_SMTP Config #68

Closed fredbsc closed 5 months ago

fredbsc commented 5 months ago

Describe the bug Default FROM is userid not email. Error on send - is not a valid mail-address. I'ts also not possible to set it as falg: pop -f (--from) my@example.com

My UserID != Mailaddress

export POP_FROM=my@example.com export POP_SIGNATURE="Sent with pop from cli ..." export POP_SMTP_HOST=server export POP_SMTP_PORT=587 export POP_SMTP_USERNAME=myuserid export POP_SMTP_PASSWORD=$(pass Mail/my/pass)

$pop From: myuserid TO: ....

$ echo $POP_FROM my@example.com $ echo $POP_SMTP_USERNAME myuserid

Desktop (please complete the following information):

fredbsc commented 5 months ago

Sorry! This was the version from AUR. The build from your repo works like a charm!

maaslalani commented 5 months ago

Thank you for creating the issue and following up. Hope you're enjoying pop!