Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Sending email in VBA directly with SMTP

Posted on 2003-02-21
Medium Priority
Last Modified: 2010-05-18
I want to send an email in VBA without using the default mail client, directly sending it by the SMTP port.

What do I need ?

Thank you
Question by:maleger
  • 2
LVL 70

Accepted Solution

Éric Moreau earned 150 total points
ID: 7994871
you need to use this free component (which can be used from VBA as well): http://www.freevbcode.com/ShowCode.Asp?ID=109

Expert Comment

ID: 7994906
you can use a free ocx component from OstroSoft (http://www.ostrosoft.com/smtp.asp).  Instructions are provided in how to send email via SMTP.

Hope this helps

LVL 16

Expert Comment

ID: 7994959
emoreau, you are a fast guy!
LVL 16

Expert Comment

ID: 7995284
"B" grade? are you joking?

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

580 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