简体   繁体   中英

Using VBA to email a file without using outlook

If outlook is not installed on a computer, is there anyway of using another mail client to send emails eg "Windows live 2012", "Thunderbird" or another?

If outlook is needed, then is there a free version that can be used ( can it be used on windows 10 and 7?)

Also related, is that when I use word on window 10, the default windows 10 mail client will not let me mail merge from word to an email. I installed Windows live 2012 to get around this. I though this was a bit rubbish that windows 10 behaved in this way by default.

The best way to do this is to use an SMTP (Simple Mail Transfer Protocol) Server. Luckily Gmail is set up to do this easily. There is a tutorial here that will walk you through step-by-step. I have used this method many times and it works very well.

VBA Email with Gmail

Edit to add link on File Attachment:

File Attachment using CDO

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM