I know I might get bashed, but I went through the FAQ's and eveything and have tried tons of different code, but I am trying to send an email and below is the code that I am using, and it executes, but I never receive an email. ANy suggestions?
Code:
<%
If Not(IsEmpty(Request.Form)) Then
Dim myMail
Set myMail=CreateObject("CDO.Message")
myMail.Subject=Request.Form("Subject")
myMail.From=Request.Form("Email")
myMail.To="jlizzi@carletoninc.com"
myMail.TextBody="From: " & Request.Form("FName") & " " & Request.Form("LName") & vbcrlf & Request.Form("content")
myMail.Send
myMail.Configuration.Fields.Item _
("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/sendusing")=2[/URL]
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpserver")[/URL] _
="smtp.carletonasptest.com"
'Server port
myMail.Configuration.Fields.Item _
("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpserverport")[/URL] _
=25
myMail.Configuration.Fields.Update
set myMail=nothing
End If
%>