David Bridges wrote:
>> Any SMTP authentication requires EHLO to be sent instead of HELO.
>>
> That helps, I get this back from Elho...
>
> < 250-smtp108.sbc.mail.re2.yahoo.com
> < 250-AUTH LOGIN PLAIN XYMCOOKIE
> < 250-PIPELINING
> < 250 8BITMIME
> RequestDone Rq=10 Error=0
>
> But I still get the 530, don't I have to supply a password somehow?
Of course, see the MailSnd demo search for method Auth.
procedure TSmtpTestForm.AuthButtonClick(Sender: TObject);
begin
FAllInOneFlag := FALSE;
SmtpClient.Username := UsernameEdit.Text;
SmtpClient.Password := PasswordEdit.Text;
SmtpClient.AuthType := TSmtpAuthType(AuthComboBox.ItemIndex);
SmtpClient.Auth;
end;
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be