Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: SMTP Authentification
mrwise

From: New Ulm, MN USA
Posts: 7
Member Since: 06/07/04
posted June 7, 2004 2:37 PM

My outgoing SMTP mail server requires me to login. I am trying to do a QuickSend but getting an error because of authentification issues. Please advise as to what steps I should take next.

Thanks in advance,

mike
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 7, 2004 2:46 PM

Try calling Login first, then call Quicksend without specifying a server. I checked the code for QuickSend and it looks like if we are already connected and the user did not specify a server, then we use the existing connection.
 

mrwise

From: New Ulm, MN USA
Posts: 7
Member Since: 06/07/04
posted June 7, 2004 3:00 PM

Where do I find the Login code? Here is my code:

Smtp1.Login "smtp.biz.rr.com"
 Smtp1.QuickSend "mikew@wideareaclassifieds.com", pstrEmail, "Wide Area Quote: " & Left(rsQuote.Fields("Order_Link"), 6), strBody

I get a protocol error whne I execute.

Thanks,
Mike
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 7, 2004 3:07 PM

You didn't specify a username and password when you called Login so we used the default, which is ""

Try this:

Smtp1.Login "smtp.biz.rr.com", 25, user, pass
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX