Solved

I want to make a vb app to send html emails via outlook outbox

Posted on 2003-11-21
3
250 Views
Last Modified: 2010-05-01
I want to make a vb app to send html emails via outlook outbox, so when i have made all my emails they will show up in the outbox of outlook.  So say I am offline I can still have the emails ready and the send them when i connect again?

Any ideas?

Thanks in advance
0
Comment
Question by:andyuk
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9796527
http://www.freevbcode.com/ShowCode.Asp?ID=109
You only need an smtp server (free available at internet)
0
 
LVL 6

Accepted Solution

by:
DominicCronin earned 50 total points
ID: 9806907
The suggestion of using an smtp server is valid (if you have one), but you can also use Outlook.

Start with getting an Outlook.Application object, as most of the other objects in Outlook are not public-createable.

Here's a starting point:
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/html/olconAutomatingOutlookFromVisualBasicApplication.asp

The example shows you how to create a task, but you can make a mail item just as easily. Then just set a couple of properties and Send it.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9809883
The link provided works with any client e-mail software. There are many free smtp servers on the net.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now