Search The ForumSearch   RegisterRegister  LoginLogin

MailBee Objects

 AfterLogic Forum : MailBee Objects
Subject Topic: My Mail Objects doesnt Send Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Kronos
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 07 January 2004 at 4:55pm | IP Logged Quote Kronos

My Mail Objects doesnt Send messages
it receives them but u could not send messages
Back to Top View Kronos's Profile Search for other posts by Kronos
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 08 January 2004 at 9:12am | IP Logged Quote Alex

This error probably means there is no connection to smtp server or your smtp server requires particular sort of authentication (SMTP.AuthMethod, SMTP.UserName, SMTP.Password properties) BEFORE calling SMTP.Connect method.


...
objSMTP.AuthMethod = 1 ' PLAIN authentication
objSMTP.UserName = "mail_account"
objSMTP.Password = "mail_password"
objSMTP.Connect
...

SMTP object provides 3 properties describing an error:
ErrDesc, ErrCode, ServerResponse.

Also, logging option is helpful for determining the problem reason.

...
objSMTP.EnableLogging = True
objSMTP.LogFilePath = "C:\smtp_log.txt"
objSMTP.Connect

Edited by Alex on 08 January 2004 at 9:14am
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide