Link to home
Start Free TrialLog in
Avatar of raj_ms
raj_ms

asked on

how do i send mail using visual basic CDO through external smtp(like smtp.hotpop.com, etc)

how do i send mail using visual basic CDO through external smtp(like smtp.hotpop.com, etc)  
Avatar of mladenovicz
mladenovicz

Avatar of raj_ms

ASKER

mmcdoconfig.Fields("smtpserverport") = 25  is this one equilant to "http://schemas.microsoft.com/cdo/configuration/smtpserverport".
Avatar of raj_ms

ASKER

i want to know one more thing, is necessary that the local machine on the networks needs to have smtp server on its own, or is it enough if its connected in the network to send an email.
ASKER CERTIFIED SOLUTION
Avatar of mladenovicz
mladenovicz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of raj_ms

ASKER

can u tell me how do i use outlook from cdo to send an email
I am not sure what do you think. You don't need outlook for CDO
Avatar of raj_ms

ASKER

but how do i use outlook to send a mail
Avatar of raj_ms

ASKER

mmcdoconfig.Fields("Smtpserver") = "smtp.hotpop.com"
mmcdoconfig.Fields("smtpserverport") = 25
mmcdoconfig.Fields("Username") = "raj_itengg@HotPOP.com"
mmcdoconfig.Fields("Password") = "abcdef1"
mmcdoconfig.Fields("SendemailAddress") = from_email
mgcdomsg.Subject = val4
mgcdomsg.MimeFormatted = True.
i tried to do like this but it was not working becaz i have stopped my smtp in my local machine. when it started the smtp in my machin it went. i guess, server is not getting connected?

whats the actual prob?