[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
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
?
335 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

649 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