Author |
|
Neil Phillipson Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 23 April 2006 at 10:17pm | IP Logged
|
|
|
Whatever we specify in the "ServerName" propery, Mailbee
always sends the message via the local machine (which is
running an SMTP virtual server). This is a problem because we
need to route certain types of e-mail via different servers.
Can you suggest what it might be that is causing this?
Many thanks
Neil
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 24 April 2006 at 1:45pm | IP Logged
|
|
|
Could you please provide us with part of your code where you connect/login to SMTP server
(send it to support@afterlogic.com)?
Also, if you find out any problem with mail sending, it's recommended to enable MailBee
logging.
The following sample enables logging, creates message and sends it using SMTP protocol.
Code:
Dim oSmtp
Set oSmtp = CreateObject("MailBee.SMTP")
' Enable logging
oSmtp.EnableLogging = True
' Make sure you have permissions to write to the specified location
oSmtp.LogFilePath = "C:\log.txt"
oSmtp.ClearLog
oSmtp.LicenseKey = "put your license key here"
oSmtp.ServerName = "mail.domain.com"
' Set message properties
oSmtp.Message.ToAddr = "bill@domain.com"
oSmtp.Message.FromAddr = "joe@domain.com"
oSmtp.Message.Subject = "Test message"
oSmtp.Message.BodyText = "This is test message"
' Send it
oSmtp.Send
oSmtp.Disconnect
|
|
|
To investigate the problem in more detail, could you please run the sample code (don't forget
to specify your SMTP server name, recipient and sender addresses) and send the log file for
examination to support@afterlogic.com?
Regards,
Alex
|
Back to Top |
|
|