On Mar 17, 2006, at 10:02 AM, Seth Duke wrote:

Is there a way to use ShowUrl to send mail.app an email address (main, cc and bcc), a subject and body?

I tried ShowURL "mailto:[EMAIL PROTECTED]"+"?subject="+msgSubject and that worked. But I'd also like to send the body of the message as well.

Hence I tried adding "?message="+msgString to that, but it goes on the subject line not in the message body.

I was trying to use ShowURL to hopefully keep be able to use it on Mac and Windows otherwise I'd see if I could figure out how to run an Applescript from within RB (which I've never done).

Hints?

mailto:[EMAIL PROTECTED] cc=your_cc_list&bcc=your_bcc_list&subject=Your_subje
ct&body=Your_body

Yes, but very few emails would have a one-word body.  =)

What you need to do is make sure that your body and subject text is URLEncoded before you attach combine it in this manner.

Two other notes:

1. This will not work with all email clients... most support this format, but I don't think that it is part of the official specs and so a mail client does not *have* to support the body tag.

2. There is an issue where the user's email is accessed through an internet browser (like GMail or Hotmail)... this command would launch the default email client which the user may never have used before and might be unable to send the email. There is not much that you can do about this, but it is something to be aware of.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to