Hi,
I hope someone can help me with an email problem.
I am able to use ShellExecute to open a default email application and to add
an atachment to it with the following code:-
stext = em***@example.com
aAddedtext = sAddedtext & "&Subject=" & "Title"
aAddedtext = sAddedtext & "&Body=" & "Attachments:"
sAddedtext = sAddedtext & "Attach=" & Chr$(34) & Me!txtAttachment & Chr$(34)
stext = "mailto:" & stext
stext= stext & sAddedText
call ShellExecute(Me.hwnd, "open",stext, vbNullString, vbNullString,
SW_SHOWNORMAL)
The txtAttachment is a text box with the path of the attachment.
I have two problems :
1) I can only attach 1 attachment, how can I attach two attachments?
2) How can I automatically send the email without is window appearing?
Thanks in anticipation
Kevin