If you are using a form to submit mail through one of our support scripting languages, there are a few guidelines you must follow
- You must use localhost as the host name. You cna not use your specific domain or webhostingprovider.com, sbwh.com, sbwh.net or any other SBWH, inc. domain
- You must not use SMTP authentication
- You must declare the from and reply to values
The exception is if you have an external mail server (not hosted by SBWH) and have a working script that allows for full smtp authentication. We only support the above methods.
An example of a vbscript /asp.net mail script that uses the CDO object model is as follows:
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "
test@domain.com"
objEmail.To = "
test@domain.com"
objEmail.Subject = "loopback test"
objEmail.Textbody = "loopback test"
objEmail.Configuration.Fields.Item _
("
http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item _
("
http://schemas.microsoft.com/cdo/configuration/smtpserver") = _
"localhost"
objEmail.Configuration.Fields.Item _
("
http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.Send