picklechips
New Member
- Joined
- Jun 22, 2018
- Messages
- 21
Hi all,
I have a macro that opens an outlook email and attaches documents/puts a blurb in the email body.
I wanted to put a hyperlink in the body of a persons email address, so the receiver should be able to click on the hyperlink and it opens a new email with the "To:" being the email address in the hyperlink.
Below is my .html body code which gets the hyperlink to show up in the email body (blue underline) but when people click on it, nothing happens. Any idea how to make it so a new outlook email opens like when you usually click on an email address hyperlink? .
Thanks in advance!
Pickles
PS. Had to replace the sideways arrows below with square brackets for it to not remove parts of the code.
I have a macro that opens an outlook email and attaches documents/puts a blurb in the email body.
I wanted to put a hyperlink in the body of a persons email address, so the receiver should be able to click on the hyperlink and it opens a new email with the "To:" being the email address in the hyperlink.
Below is my .html body code which gets the hyperlink to show up in the email body (blue underline) but when people click on it, nothing happens. Any idea how to make it so a new outlook email opens like when you usually click on an email address hyperlink? .
Thanks in advance!
Pickles
PS. Had to replace the sideways arrows below with square brackets for it to not remove parts of the code.
Code:
.HTMLBody = .HTMLBody & "[p]Salesperson 1 [a href=""salesperson1@hotmail.com""] salesperson1@hotmail.com [/a] T – 647 868 1234 [/p]"
Last edited: