• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A modest request?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A modest request?


  • Subject: Re: A modest request?
  • From: Alex Robinson <email@hidden>
  • Date: Sun, 26 May 2002 18:57:01 +0100

....
> open location "mailto:"; & default_address & "?subject=" & mail_subject
....
>& "content" & content
>
>this gives me the following error
>
>Mail got an error: NSReceiverEvaluationScriptError: 3


That's because content is a property of Mail's message element. ie. it's a
reserved word. It works fine when you set it outside the tell app "Mail"
block because it has no special meaning there.

In any case even if 'content' wasn't a reserved word it still wouldn't
work. Because the parameter that is actually expected by a mail agent is
'body'.

eg. mailto:$address?subject=$subject&cc=$cc1,$cc2&bcc=$bcc&body=$body
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: A modest request? (From: System Administrator <email@hidden>)

  • Prev by Date: Re: A modest request?
  • Next by Date: Re: Recalculation of AppleWorks Spreadsheet
  • Previous by thread: Re: A modest request?
  • Next by thread: Write a prefs file
  • Index(es):
    • Date
    • Thread