• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 487
  • 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 BottomleySoftware Quality Lead EngineerCommented:
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 BottomleySoftware Quality Lead EngineerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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