|
Answer» Hello,
To cut a long story short, I'm trying to create a batch that will generate an email but when i run the batch the body of the email is blank.
The code for the email i've got is below: START mailto:[emailprotected]?subject=test&body=Hi%%0D%%0A%%0D%%0AThis%%20is%%20a%%20test
On the command prompt it brings up an error saying 'body' is not recognised. HOWEVER, if I take the 'subject=test' out of the code, it loads up the email with the body of the email. So it appears that it can't do both for some reason?
Can ANYONE help?Try: START mailto:[emailprotected]?"subject=test&body=Hi%%0D%%0A%%0D%%0AThis%%20is%%20a%%20test"Thank you oldun, that works like a dream!
On a similar note, do you know how to make some of the text bold within the email? I have searched AROUND the net before posting this but cant find anything. ThanksQuote from: oldun on May 18, 2010, 07:18:34 PM Try: START mailto:[emailprotected]?"subject=test&body=Hi%%0D%%0A%%0D%%0AThis%%20is%%20a%%20test"
If the "maillto:" command is included in a batch file that is a scheduled task to run at 2AM, how will the email be SENT automatically without interaction with the user?
Quote from: marvinengland on May 21, 2010, 07:34:07 AM If the "maillto:" command is included in a batch file that is a scheduled task to run at 2am, how will the email be sent automatically without interaction with the user?
The same way it was with the Original POST, where the only problem was the body was blank. I imagine they must be using a real E-mail client to handle the Mailto: protocol.
|