S
SeanCannon
Hi. Am trying to send email from a batch file ( .bat) but am finding it
difficult to use 2 switches /a (attachment) and /m (mailname) together.
The following work perfectly as separate commands:
start outlook /c ipm.note /a %vulctrfnm%
start outlook /c ipm.note /m (e-mail address removed)
But when I combine them as follows:
start outlook /c ipm.note /m (e-mail address removed) /a %vulctrfnm%
I get an error message "The command line argument is not valid. Verify the
switch you are using"
The aim is to produce a single addressed email with an attachment. Oh, and
a subject line too, if possible.
It seems the switches are documented - but I don't see one for subject line.
Any suggestions?
Regards
SeanCannon
difficult to use 2 switches /a (attachment) and /m (mailname) together.
The following work perfectly as separate commands:
start outlook /c ipm.note /a %vulctrfnm%
start outlook /c ipm.note /m (e-mail address removed)
But when I combine them as follows:
start outlook /c ipm.note /m (e-mail address removed) /a %vulctrfnm%
I get an error message "The command line argument is not valid. Verify the
switch you are using"
The aim is to produce a single addressed email with an attachment. Oh, and
a subject line too, if possible.
It seems the switches are documented - but I don't see one for subject line.
Any suggestions?
Regards
SeanCannon