Forums
This topic is locked
One More CDOSYS question
Posted 14 Jan 2004 15:26:17
1
has voted
14 Jan 2004 15:26:17 Tommy Ready posted:
first off...here is my code:<%
if Request.ServerVariables("REQUEST_METHOD" = "POST" then
set imsg = createobject("cdo.message"
set iconf = createobject("cdo.configuration"
Set Flds = iConf.Fields
Set Flds = iConf.Fields
Flds("sendusing" = 2
Flds("smtpserver" = "mx1.mydomain.com" 'my exchange server
Flds("smtpserverport" = 25
Flds("smtpauthenticate" = 0 ' anoniem
Flds.Update
With iMsg
Set .Configuration = iConf
.To = " "
.From = email
.CC = email
.Bcc = " "
.Subject = "Test Email" .textbody = "This is a test email"
.fields.update
.Send
End With
set imsg = nothing
set iconf = nothing
response.redirect("/thankyou.htm"
response.end
End if
%>
Okay, now here is the problem. My network admin is telling me I have to use our exchange server to send e-mails from our website. The problem is we never receive the email. If I direct it to yahoo it goes fine....but for some reason I never get an email. Has anyone ever had this problem before? I mean everthing goes through fine...it directs me to my thank you page and all. So the premission must be set right or I'd get an error right?? How should I setup my premissions on my relay off port 25? I know that we have a spam filter currently running...but it shouldn't spam out mail sent from our own server right? Someone please help......thnx in advance!
Dreamweaver MX | Flash 5/MX | Visual Studio 6.0 | Visual Studio .NET
Replies
Replied 16 Jan 2004 13:22:21
16 Jan 2004 13:22:21 Rene Bandsma replied:
Many hosting companies does only allow to send e-mails in their own domain range.
When your domain is test.com, you can only send e-mails to this domain, or other domains that are hosted by the hostingcompany.
When your domain is test.com, you can only send e-mails to this domain, or other domains that are hosted by the hostingcompany.