?
Solved

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

Posted on 2004-09-15
9
Medium Priority
?
333 Views
Last Modified: 2013-11-25
how do i send mail using visual basic CDO through external smtp(like smtp.hotpop.com, etc)  
0
Comment
Question by:raj_ms
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12065738
0
 

Author Comment

by:raj_ms
ID: 12065908
mmcdoconfig.Fields("smtpserverport") = 25  is this one equilant to "http://schemas.microsoft.com/cdo/configuration/smtpserverport".
0
 

Author Comment

by:raj_ms
ID: 12065937
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.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 8

Accepted Solution

by:
mladenovicz earned 1500 total points
ID: 12066013
I am not sure for field names.
I think that you don't need local SMTP server if you are using a remote computer's SMTP service.
0
 

Author Comment

by:raj_ms
ID: 12066165
can u tell me how do i use outlook from cdo to send an email
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12066291
I am not sure what do you think. You don't need outlook for CDO
0
 

Author Comment

by:raj_ms
ID: 12066425
but how do i use outlook to send a mail
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12066476
0
 

Author Comment

by:raj_ms
ID: 12101830
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?
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question