Q&A

  • indy를 이용해서 EMail을 보낼때 "Relay Denied" 에러가 발생합니다.
indy 버전은 9.0.18 입니다
뭐가 잘못 되었을까요??
=======================

    SMTP.Host         := 'www.aaa.co.kr';
    SMTP.Port          := '25'
    SMTP.Username := 'na';
    SMTP.Password := '123';

    MsgSend.Subject := edtSubject.Text;
    MsgSend.From.Text := 'na@aaa.co.kr';
    MsgSend.ContentType := 'text/html';
    MsgSend.CharSet     := 'euc-kr';

    SMTP.Connect;

    MsgSend.Recipients.EMailAddresses := 'kkk@bbb.co.kr';
    MsgSend.Body.LoadFromFile(sFileName);
    SMTP.Send(MsgSend);

    SMTP.Disconnect;

=======================
1  COMMENTS
  • Profile
    허강우 2006.09.12 23:06
    일단 smtp 서버로 지정한 www.aaa.co.kr이 메일 전달을 거부한 것입니다.
    www.aaa.co.kr이 SMTP가 아니거나, 인증을 필요로 하는 서버가 아닌지 확인하세요.
    확인 방법은 아웃룩으로 해 보시면 쉽게 아실 수 있을 것입니다.