|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
email attachments?I'm starting the default email client and passing ?subject= and &body=.
Is it possible to also pass an attachment? I've Googled but can't find an answer :( Thanks, "Newman99" <nospam@nospam.com> wrote in message news:TfNFh.9407$KE2.3841@trnddc06...> I'm starting the default email client and passing ?subject= and &body=. With windows 2000 and above, yes using Shellexecute> > Is it possible to also pass an attachment? > > I've Googled but can't find an answer :( > > Thanks, -- Steve Easton Steve Easton wrote:
> "Newman99" <nospam@nospam.com> wrote in message Well I guess that'll teach me to be careful what I ask for. I should > news:TfNFh.9407$KE2.3841@trnddc06... >> I'm starting the default email client and passing ?subject= and &body=. >> >> Is it possible to also pass an attachment? >> >> I've Googled but can't find an answer :( >> >> Thanks, > > With windows 2000 and above, yes using Shellexecute > have asked how to do it. More searching revealed this example. http://vb-helper.com/howto_send_outlook_express_attachment.html This example requires Outlook Express to be your default e-mail program. I'm now assuming there is no keyword such as "atttachment=" to make this happen. Since I can't depend on OE being the default e-mail program, this isn't a very workable solution. Is sendkeys the only way to accomplish this? Can someone provide an example that works for any e-mail program? Thanks, Newman99 wrote:
> You probably shouldn't take my word for it.> Can someone provide an example that works for any e-mail program? > But you're wasting your time. Bob -- > >> I'm starting the default email client and passing ?subject= and &body=. That's a hokey way to go about it. You might try> >> > >> Is it possible to also pass an attachment? > >> > >> I've Googled but can't find an answer :( > >> > Since I can't depend on OE being the default e-mail program, this isn't > a very workable solution. > > Is sendkeys the only way to accomplish this? looking into CDO if you want it simple. CDO is fairly easy to use, but I think it's only available on 2000/XP. (I use Win98, which has none of the CDO stuff, so I have a hard time remembering exactly what's supported on which systems.) If you just do a search for CDO you should find what you want.
Data Type String
VB6 App Deployment in Vista Problems after installing Visual Basic 6 on XP Professional SP2 Convert decimal to fraction string Looking for an easy way to achive this problem. Autologon on Vista VB6 User Control next problem Random access file help Read/Write permission (earn your quarter, Karl!) Error '50003' Unspecified error in VB6 Program |
|||||||||||||||||||||||