| View previous topic :: View next topic |
| Author |
Message |
Guillem Guest
|
Posted: Tue Nov 23, 2004 9:27 am Post subject: Help with STMP error |
|
|
Hi,
I'm trying to send e-mails using TidSMTP. If I do it with QuickSend it works
fine. But if I try to do it with Send I get an EidProtocolReplyError
exception with message 'auth not available (#5.3.3)'
I use a TidMessage and create it like this:
M := TidMessage.Create(Self);
M.From.Address := 'origin (AT) orig (DOT) com';
M.Subject := 'try';
M.Recipients.Add.Address := 'destination (AT) dest (DOT) com';
M.Body.Text := 'hello world';
and then send it like this:
TidSMTP1.Connect;
TidSMTP1.Send(M); <----- at this point I get the exception
TidSMTP1.Disconnect;
Any ideas what i'm doing wrong? Thanks for help & best regards
--
Guillem Vicens
Dep. informática Green Service SA
[email]guillemvicens (AT) clubgreenoasis (DOT) com[/email]
www.clubgreenoasis.com
|
|
| Back to top |
|
 |
Guillem Guest
|
Posted: Tue Nov 23, 2004 2:50 pm Post subject: Re: Help with STMP error |
|
|
Got it. Had forgotten to put AuthenticationType to atNone...
Regards
--
| Quote: | Guillem Vicens
Dep. informática Green Service SA
[email]guillemvicens (AT) clubgreenoasis (DOT) com[/email]
www.clubgreenoasis.com
|
|
|
| Back to top |
|
 |
|