kyameizero
New Member
- Joined
- Jan 2, 2020
- Messages
- 19
- Office Version
- 365
- Platform
- Windows
Hi,
How do I add an image to my email? I don't want the picture to be an attachment. It's like a company email, with the company logo shown in the email.
Is it possible to do that?
Please help!!
How do I add an image to my email? I don't want the picture to be an attachment. It's like a company email, with the company logo shown in the email.
Is it possible to do that?
Please help!!
VBA Code:
Set xOutMail = xOutApp.CreateItem(0)
xMailBody = "Dear " & xRgNameVal & " (EP number: " & xRgEPNoVal & "), " & vbNewLine & vbNewLine & _
"Your " & xRgQualVal & " licence is expiring on " & xRgDateVal & ". " & vbNewLine & vbNewLine & _
"To continue performing your " & xRgQualVal & " duties after the expiration date, " & _
"please renew your licence by completing the " & xRgQualVal & " re-certification course." & _
" You may approach your Training Coordinator to register for the course. " & vbNewLine & vbNewLine & _
"Thank you."
xMailSubject = "Your " & xRgQualVal & " licence is expiring soon!"
On Error Resume Next
With xOutMail
.To = xRgSendVal
.CC = ""
.BCC = ""
.Subject = xMailSubject
.Body = xMailBody
.Display
End With
On Error GoTo 0
Set xOutMail = Nothing
Set xOutApp = Nothing