Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-20-2012, 04:39 PM   #1
Registered User
Join Date: Jul 2010
Posts: 4
Default mailto with attachment using Outlook

I'm creating an Adobe Air app. The code I'm using is:
'mailto:[email protected]?subject=testing123& body=This is a test and only a test'

This will open Outlook and create the email with the right email address, subject, and body. Then I add this code to add an attachment.

The problem is, with that code added, Outlook gives me an error that says "The command line argument is not valid. Verify the switch you are using". Has anyone else seen this error before? How do you fix it? Any help is much appreciated.
bsmh is offline   Reply With Quote
Old 08-24-2012, 03:52 PM   #2
Senior Member
Join Date: Jan 2012
Posts: 608

Maybe its complaining because you're giving it a relative path. As far as outlook is concerned, it has no idea where mytextFile.txt is... maybe try giving it a full absolute path?
dmb85 is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:22 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.