• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 484
  • Last Modified:

VBA Codes required to send mail from excel via Outlook as well as ThunderBird

Dear Experts,

I want VBA codes to send the mail from Excel file to predefined recipients . The excel file will be attached to mail.

As some of our yours are using Outlook & others are using ThunderBird hence codes shall work in both.

Please suggest.

Thanks in advance.

Nilesh.
0
tnilesh2
Asked:
tnilesh2
  • 2
1 Solution
 
Chris BottomleyCommented:
I suggest code to send using the default mail client ... See www.rondebruin.nl/cdo.htm

Chris
0
 
tnilesh2Author Commented:
Hi Chris,
Thanks for looking into,
I already checked the link http://www.rondebruin.nl/cdo.htm.

But it does not talks about the mail merge using Thunderbird.

Now to simplify I decided to put to command buttons, one for outlook & another is for Thunderbird.

Can you please suggest codes for attaching the excel file in Thunderbird mail message.

Regards,
Nilesh.
0
 
Chris BottomleyCommented:
CEO uses the default mail client and can in addition be set to use the mail server so in what way does it not work?

If you explicitly want to mail merge then you will need to loop through the recipients in vba sending each separately as processed in the loop.

Chris
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now