Mac
Mac

Reputation: 505

Sending an email via command line--body not included

Why isn't the body being ignored?

@ECHO OFF    
START mailto:[email protected]?subject=Technical%%20Issue..?body="lalala"

Upvotes: 0

Views: 671

Answers (1)

cjstehno
cjstehno

Reputation: 13994

I am not sure you can add content to an email that way, but try replacing the second ? with & so that it's at least a correct query string. Also that quotes will probably be an issue. You should URL-encode the body content.

Upvotes: 2

Related Questions