BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with STMP error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Guillem
Guest





PostPosted: Tue Nov 23, 2004 9:27 am    Post subject: Help with STMP error Reply with quote



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





PostPosted: Tue Nov 23, 2004 2:50 pm    Post subject: Re: Help with STMP error Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.