Outlook Email Automation Using VBA

Outlook Email Automation Using VBA 

Hyperlink in Mail Body

strMailBody="Please click on the following link " & "<a href=""https://www.google.com/"">www.google.com</a>"

Note: Don't forget to include https here or copy the URL from the browser address bar.

Choose Email Account

.SentOnBehalfOfName=str_OnBehalfOf

Here string variable str_OnBehalfOf contains the email address of the account using which emails will be sent.

Comments

Popular posts from this blog

Power Automate - Automatically fetch data from Power BI in to Excel and Send the copy of the Excel file via Email

Function to Paste Excel Range on Outlook Mail Body (In text not image) Function Name - rngHTML()

Separate Text (Characters) & Numbers from Alpha Numeric String Using Formula and Macro (VBA)