Error in Smtp " Null Externe Adresse"

MRQMRQ Member Posts: 73
i try to send email uising SMtp

this is the code
  EmailRecipient:='scgate@gmail.com';
  Subject:='test email';
 SmtpMail.NewMessage('scgate@gmail.com','Test');
     SmtpMail.SetWorkMode(); 
  
     SmtpMail.SetHost('mail.gmail.com');
     SmtpMail.SetUserID('scgate');
     SmtpMail.AddLine('test');
     SmtpMail.SetToAdress('scgate@gmail.com');
     SmtpMail.Send; 
  
     IF NOT SmtpMail.WasSuccessful THEN 
       MESSAGE(SmtpMail.LastError); 


but the code return the this error

Null Externe Adresse

Comments

  • MRQMRQ Member Posts: 73
    i solved the firs error

    but now new error cone out

    its erorr number 530 5.7.1 and its mean Authentication required [AUTH]

    and i find the Removal Instructions


    .
    Use AUTH command or enable/disable authentication obligation from your Merak Admin console

    but i dont understand this Instructions can any one help tell me in steps
    how to enable/disable authentication obligation
  • MaciMaci Member Posts: 65
    Hey! Suddenly today this ocx start to fails! Yesterday it works fine...

    We have same error "Null Externe Adresse" . Is an authentication error?

    What can I do?
Sign In or Register to comment.