Why do I receive an error message 554 (mail rejected for policy reasons) when using SENDMAIL in MATLAB?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2013-10-18
回答: MathWorks Support Team
2014-1-15
When I am running a simple test calling sendmail like:
sendmail('user@otherdomain.com','test','test')
MATLAB reports the following error:
??? Error using ==> sendmail at 168
采纳的回答
MathWorks Support Team
2013-10-18
This error usually indicates that your email adress may be listed on the recipients black list, so it is actually not issued by SENDMAIL, but received from the recipients mail server. You should try to verify this issue with the recipient. Also setting a different FROM address might help. You can set one like this:
setpref('Internet','E_mail','username@example.com');
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!