Click here to Skip to main content
15,904,877 members
Home / Discussions / Web Development
   

Web Development

 
Question"ASP" Email sending problem.. [modified] Pin
D.Manivelan16-Mar-09 4:27
D.Manivelan16-Mar-09 4:27 
AnswerRe: "ASP" Email sending problem.. Pin
tech60316-Mar-09 17:46
tech60316-Mar-09 17:46 
GeneralRe: "ASP" Email sending problem.. Pin
D.Manivelan17-Mar-09 0:57
D.Manivelan17-Mar-09 0:57 
GeneralRe: "ASP" Email sending problem.. Pin
tech60317-Mar-09 3:18
tech60317-Mar-09 3:18 
GeneralRe: "ASP" Email sending problem.. Pin
D.Manivelan18-Mar-09 2:08
D.Manivelan18-Mar-09 2:08 
GeneralRe: "ASP" Email sending problem.. Pin
tech60318-Mar-09 4:17
tech60318-Mar-09 4:17 
GeneralRe: "ASP" Email sending problem.. Pin
D.Manivelan19-Mar-09 18:46
D.Manivelan19-Mar-09 18:46 
GeneralRe: "ASP" Email sending problem.. Pin
tech60320-Mar-09 4:43
tech60320-Mar-09 4:43 
Ok i was getting the same issue as you when using XP and localhost for smtp relay. I think i may have missed something in my original code snippet, but i did test this on my local and got this working hopefully this will help with your issue.


Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="matt@xynergypc.com"
myMail.To="livenitup603@yahoo.com"
myMail.TextBody="This is a message."
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver")="youremailserver"
'Server port
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25
'authenticate
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
'email address for authentication
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "youremailaddresshere"
'email password
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "youremailpasswordhere"
myMail.Configuration.Fields.Update
myMail.Send
set myMail=nothing

Matthew Vass
QA Analyst
mvass@hostmysite.com
HostMySite.com

GeneralRe: "ASP" Email sending problem.. Pin
D.Manivelan22-Mar-09 18:43
D.Manivelan22-Mar-09 18:43 
GeneralRe: "ASP" Email sending problem.. Pin
tech60324-Mar-09 3:32
tech60324-Mar-09 3:32 
QuestionAjax enabled page stops responding after kept idle for some time Pin
Member 56545116-Mar-09 2:08
Member 56545116-Mar-09 2:08 
Questionsending emails on localhost Pin
NetQuestions15-Mar-09 22:29
NetQuestions15-Mar-09 22:29 
AnswerRe: sending emails on localhost Pin
Marc Firth15-Mar-09 23:24
Marc Firth15-Mar-09 23:24 
GeneralRe: sending emails on localhost Pin
tech60316-Mar-09 17:51
tech60316-Mar-09 17:51 
GeneralRe: sending emails on localhost Pin
NetQuestions19-Mar-09 3:11
NetQuestions19-Mar-09 3:11 
QuestionPhysical key/keyboard layout detection in JS Pin
eesheesh15-Mar-09 11:15
eesheesh15-Mar-09 11:15 
Questionexecuting php code from mysql Pin
Ahmad Hamid15-Mar-09 6:27
Ahmad Hamid15-Mar-09 6:27 
AnswerRe: executing php code from mysql Pin
Mohammad Dayyan15-Mar-09 22:13
Mohammad Dayyan15-Mar-09 22:13 
AnswerRe: executing php code from mysql Pin
Marc Firth15-Mar-09 23:43
Marc Firth15-Mar-09 23:43 
GeneralRe: executing php code from mysql Pin
Ahmad Hamid16-Mar-09 0:08
Ahmad Hamid16-Mar-09 0:08 
GeneralRe: executing php code from mysql Pin
Marc Firth16-Mar-09 1:39
Marc Firth16-Mar-09 1:39 
QuestionI AM JUST GETTING STARTED Pin
patrice pilgrim15-Mar-09 2:29
patrice pilgrim15-Mar-09 2:29 
AnswerRe: I AM JUST GETTING STARTED Pin
scottgp15-Mar-09 10:24
professionalscottgp15-Mar-09 10:24 
GeneralRe: I AM JUST GETTING STARTED Pin
tech60318-Mar-09 15:58
tech60318-Mar-09 15:58 
AnswerRe: I AM JUST GETTING STARTED Pin
Marc Firth15-Mar-09 23:28
Marc Firth15-Mar-09 23:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.