Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Mail via ShellExecute: Thunderbird does not recognize attachm.

Status
Not open for further replies.

spitzmuller

Programmer
May 7, 2004
98
CH
Hi

I use this to send emails:

Call ShellExecute(hwnd, "open", stext, vbNullString, vbNullString, SW_SHOWNORMAL)

where stext is e.g. the following:

mailto:john@doe.com?CC=maria@doe.com&Subject=Test&Body=Blablablablabla&Attach="C:\Boot.ini"

Everything works fine except the attachement. When Thunderbird opens, there is no file attached to the mail.

What do i have to do do get it to work?

Thanks for your help Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top