Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Send an email from Excel VBA

Is there a way to send an email from VBA in Excel? I need to control the
contents of the body, and the To:, From:, and Subject: headers. The email
does not need to have any attachments.

Background: I administer several email lists. Some folks are members of
multiple lists. I keep a data base of list members in Excel. When someone
changes their email address I now enter the change into a form and VBA
updates the d6tabase. I would like for VBA to send the appropriate emails
to change the address on each list server.

Many thanks for any help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Send an email from Excel VBA

This should have everything you need (for this and about everything else)
http://www.rondebruin.nl/mail/folder3/mail4.htm

--
-John
Please rate when your question is answered to help us and others know what
is helpful.


" wrote:

Is there a way to send an email from VBA in Excel? I need to control the
contents of the body, and the To:, From:, and Subject: headers. The email
does not need to have any attachments.

Background: I administer several email lists. Some folks are members of
multiple lists. I keep a data base of list members in Excel. When someone
changes their email address I now enter the change into a form and VBA
updates the d6tabase. I would like for VBA to send the appropriate emails
to change the address on each list server.

Many thanks for any help!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Send an email from Excel VBA

Thanks for the reply. I forgot to mention that I am not using outlook and
do not have it installed. I am using Thunderbird if that is of any help.
I can provide SMTP server and SMTP login info to the macro.

On Thu, 9 Aug 2007 06:10:01 -0700, John Bundy (remove)
wrote:

This should have everything you need (for this and about everything else)
http://www.rondebruin.nl/mail/folder3/mail4.htm


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Send an email from Excel VBA

Test the SendMail examples first on my site (first section)
http://www.rondebruin.nl/sendmail.htm

If this is not working try the CDO code
http://www.rondebruin.nl/cdo.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


wrote in message ...
Thanks for the reply. I forgot to mention that I am not using outlook and
do not have it installed. I am using Thunderbird if that is of any help.
I can provide SMTP server and SMTP login info to the macro.

On Thu, 9 Aug 2007 06:10:01 -0700, John Bundy (remove)
wrote:

This should have everything you need (for this and about everything else)
http://www.rondebruin.nl/mail/folder3/mail4.htm


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can excel send email? Paddidle Excel Discussion (Misc queries) 1 February 7th 09 03:34 PM
send email to each customer email in excel sheet. -keevill- Excel Discussion (Misc queries) 3 July 17th 08 02:33 PM
send email from excel adam_mcc Excel Discussion (Misc queries) 2 September 21st 07 03:08 PM
Send Email from Excel Dee Excel Programming 1 August 5th 05 03:19 PM
body of email disappears when I send an email from Excel ~A Excel Discussion (Misc queries) 0 February 25th 05 10:55 PM


All times are GMT +1. The time now is 12:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"