Why do I receive an error message 554 (mail rejected for policy reasons) when using SENDMAIL in MATLAB?

조회 수: 2 (최근 30일)
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
554 Mail from user@mydomain.com rejected for policy reasons.

채택된 답변

MathWorks Support Team
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개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2010b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by