|
-
Jun 7th, 2000, 07:45 PM
#1
Does anyone know how to attach a file and set the message text through the ShellExecute command. This is the Code I have so far:
Code:
Success = ShellExecute(0&, vbNullString, _
"mailto:[email protected]?subject=Subject Goes Here", _
vbNullString, "C:\", SW_SHOWNORMAL)
This command works fine, but I cant figure out what
parameters will set the message text and attachmet files.
Also is there a way to automate this so the user does not
see the default email client, it just sends the message out
Thanks in advance
-
Jun 7th, 2000, 07:47 PM
#2
Frenzied Member
Go to http://www.planetsource.com/vb and search for BuzMail - this is my e-mail object that will make your life easier.. you can attach files as you feel fit and send e-mails out - all without the user seeing the client.
And don't forget to rate the code as Excellent!!
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Jun 7th, 2000, 08:03 PM
#3
Buzby,
Thanks, but that link did not work. It looks like
planetsource is down.
-
Jun 8th, 2000, 10:31 PM
#4
Frenzied Member
I've e-mailed both of you a copy of the files. Please let me know how you get on. (and rate it as EXCELLENT(!) on PlanetSourceCode!)
As far as I can tell
http://www.PlanetSourceCode.com/vb
should work..?!
Oh well.
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Jun 8th, 2000, 10:47 PM
#5
Addicted Member
That URL DOES work. But it's different to the one you gave before.
-
Jun 8th, 2000, 10:52 PM
#6
Frenzied Member
Oops - you're right - I missed the 'Code' part..
Sorry folks!
PS - LAURENS - I sent the file to your e-mail account but your over-excitable e-mail server told me it had VB script in it (suprise, suprise) and it blocked it (obviously a little bit scared of viruses and such like).
So you'll have to go to PlanetSourceCode..
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|