How do I send from a specific Outlook email account in VBA?

Joseph White 0 Reputation points
2024-09-06T16:36:41.2433333+00:00

Want to automate sending of quarterly newsletter as an attachment to a list of email addresses. Have tried setting the .SendUsingAccount property, but this seems to have no effect. Also tried setting the desired account as the default email send, but that doesn't seem to work either. How can you select which account to use in the Outlook object model? (I'm actually using Visual FoxPro, remember that?)

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.