Hi friends,
I have a email programme to send the mails automatically to all the members on particular date. Now I have 2 email accounts configure in outlook in which one is default. I have to send the mails using these two accounts every day. Now I have to select the email account manually. I want to make it automatic using vba.

Can you please suggest me a code to select particular email id for particular mails automatically?

For example:

Email accounts:

[email protected]
[email protected]

I want to send some emails from '[email protected]' and some from '[email protected]'.

Please suggest me a code for it positively.

Thanking you in anticipation.

Sincerely,

Mukesh