• 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: email-addresses are 1big email-address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: email-addresses are 1big email-address


  • Subject: RE: email-addresses are 1big email-address
  • From: Brian Johnson <email@hidden>
  • Date: Fri, 6 May 2005 11:45:23 -0700 (PDT)


Jan, If you got your example from Jean-Baptiste's early releases, as I did, and you are trying to modify one of his "raw email" sample scripts, and the error affects the way replies are handled, but not the initial distribution, then I think you just need to insert


  set applescript's text item delimiters to {","}

up near "--> customize the following variables as you wish" (or anywhere before the "set rawSource to ..." line, as this is where your distribution list is being turned into a string). (that's assuming your addresses are of the form "email@hiddenver" and not "Foo Bar <user@wherever>" since the second form bumps into another problem in his sample code).

 - brian johnson

On Fri, 6 May 2005, Jan-Bultereys wrote:

Where can I find a good example (for panther and jaguar?)

----------
From: 	Le Stang Jean-Baptiste
Sent: 	Friday, May 6, 2005 16:44 PM
To: 	Jan-Bultereys
Cc: 	email@hidden
Subject: 	Re: email-addresses are 1big email-address


On May 6, 2005, at 2:25 PM, Jan-Bultereys wrote:


set |to| to {"address1", "address2", "address3"}

	hi, this is a piece in the variable used in Xmail.

	It is working but when I receive it in my mailbox (outlook) I will see
	the addresses like 1 big address, meaning
	To: address1address2address3


Well I think that you are trying to use one of the (buggy) samples. This seems to be a coercion from a list of string to a string, like the text item delimiter is not set to the good value (it my fault) the mail has a strange address.


set theRecipients to {"email@hidden","email@hidden",> ...> } set myAddress to "email@hidden" send mail to theRecipients from myAddress body "This is the body" subject "This is the subject" smtp server "mail.myisp.com"

++ Jean-Baptiste



	This example will separate the names in oulook but when you double click on the 1st address,
	it will display the 3 addresses in the window "display name".....
	set |to| to {"address1; ", "address2; ", "address3; "}

	Is there a way fix this issue?





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: email-addresses are 1big email-address (From: "Jan-Bultereys" <email@hidden>)

  • Prev by Date: Re: printing 2 sided pdf files w/out interaction
  • Next by Date: Re: Nice Automator article on O'Reilly
  • Previous by thread: RE: email-addresses are 1big email-address
  • Next by thread: RE: email-addresses are 1big email-address
  • Index(es):
    • Date
    • Thread