Author |
|
KLINT Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 12 November 2005 at 3:37am | IP Logged
|
|
|
Hi
Alex, I have noticed that while sending to our domain
the mailbee works fine but when I send to another domains
it fails and give message [Error: Negative or void server response].
Here is brief info. about our setup: Our website is hosted on our ISP server (Both Located in same country
& dedicated hosting type) we have exchange server on
our network.
I can send & retrieve our domains
(newbee@mydomain.com) emails with out any problems but other domains I can't send including hotmail & yahoo etc.
Any Help ? i'm sending mails in windowsbased not webbased
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 November 2005 at 11:58am | IP Logged
|
|
|
The most common reason of this problem is the fact that your SMTP server is configured not to allow sending mail to external domains for unauthenticated users.
You can enable SMTP authentication before connecting to the SMTP in the way like below:
Code:
...
SMTP.AuthMethod = 2
SMTP.UserName = "user" ' or user@domain, depends on server
SMTP.Password = "pass"
...
SMTP.Connect
STMP.Send
|
|
|
Regards,
Alex
|
Back to Top |
|
|
mchequer Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 19 April 2006 at 10:26pm | IP Logged
|
|
|
Hi,
I have the same problem. I have a windows 2003 server and using CDO I can successfully send to outside domains (yahoo.com), however, using mailbee.smtp I get the relay error. I have tried just about everything to get this working, but with no luck. Do you by any chance have a step-by-step guide for 2003 server?
I'm using the SMTP and POP servers that come with the OS.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 20 April 2006 at 9:57am | IP Logged
|
|
|
CDO doesn't connect to the local server to send mail, it dir ectly submits mails to the IIS SMTP queue.
It is possible to do the same with MailBee Objects by saving messages to IIS SMTP Pickup folder. You can submit mails to the IIS SMTP queue as follows (in VB syntax):
Code:
Dim oSmtp, fso, name
Set fso = CreateObject("Scripting.FileSystemObject")
Set oSmtp = CreateObject("MailBee.SMTP")
oSmtp.LicenseKey = "put your license key here"
oSmtp.Message.FromAddr = "jdoe@domain.com"
oSmtp.Message.ToAddr = "bill@domain.com"
oSmtp.Message.Subject = "Test message"
name = fso.GetTempName()
oSmtp.Message.SaveMessage "C:\Inetpub\mailroot\Pickup\" & left(name, len(name) - 4) & ".eml"
|
|
|
If you do not want to use this approach, could you please enable logging SMTP session into a file, run your code again, try to reproduce the problem and send the log to support@afterlogic.com? Thus, we will be able to investigate the problem in more detail.
You can enable logging as shown below (in VB syntax):
Code:
Dim oSmtp
Set oSmtp = CreateObject("MailBee.SMTP")
oSmtp.EnableLogging = True
oSmtp.LogFilePath = "C:\my_log.txt"
oSmtp.ClearLog
|
|
|
Make sure your application has permissions to write into the specified location.
Regards,
Alex
|
Back to Top |
|
|
mchequer Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 21 April 2006 at 1:16am | IP Logged
|
|
|
Thanks Alex, the above works like a charm..!
|
Back to Top |
|
|