Author |
|
Jen Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 03 November 2004 at 5:17pm | IP Logged
|
|
|
I got mailbee to send emails to our internal email users, but I get a message that the outside email addresses are "rejected by the mail server, Error #123...unable to relay for ....user@outside.com"
Any ideas?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 04 November 2004 at 5:56am | IP Logged
|
|
|
This error usually occurs when mail server requires you to use SMTP authentication in order to relay to external mail addresses. You can enable SMTP authentication with MailBee using the code like below:
Set SMTP = CreateObject("MailBee.SMTP")
SMTP.LicenseKey = "your key"
SMTP.AuthMethod=2
SMTP.UserName="username"
SMTP.Password="password"
' Now you may call SMTP.Connect, SMTP.Send, etc.
There are different SMTP authentication methods available. In the code above, method #2 (LOGIN authentiation) is used. If your mail server supports another authentication method, you can tell MailBee to use it by specifying other values for AuthMethod (you can find them in MailBee electronic documentation).
Regards,
Alex
|
Back to Top |
|
|