-
Hi!!
I try to send an mail with an file attachment!
Anyone knew the correct line to add an attachment to the mail?
sMail = "mailto:[email protected]%[email protected] &subject=Subject line &body=Mail body!"
nResult = ShellExecute(0, "open", sMail, 0, 0, 1)
-
Friend,
Please refer Articles section to know more about mail with attachment. It includes Demo project and exe also.
Thanx and Best of luck.
-
try using this
Code:
Dim sMail As String
Dim nResult As Long
sMail = "mailto:[email protected]%[email protected] &subject=Subject line &body=Mail body!"
nResult = ShellExecute(Me.hwnd, "open", sMail, "", App.Path, 1)