Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用net/stmp发送邮件收件人失败 #1

Open
langsz opened this issue Jul 1, 2019 · 1 comment
Open

使用net/stmp发送邮件收件人失败 #1

langsz opened this issue Jul 1, 2019 · 1 comment

Comments

@langsz
Copy link

langsz commented Jul 1, 2019

邮件发送失败:501 5.1.7 Invalid address
Mail send to: [[email protected]]
Send mail error! 501 5.1.7 Invalid address

@langsz
Copy link
Author

langsz commented Jul 1, 2019

解决:
sendByNoSSL函数中 msg的From和SendMail的from使用mailContent.From,而不是用mailContent.User

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant