Re: Using name and email address in WOMailDelivery
Re: Using name and email address in WOMailDelivery
- Subject: Re: Using name and email address in WOMailDelivery
- From: Randall Perry <email@hidden>
- Date: Fri, 23 Apr 2004 10:11:03 -0400
Nope. Only thing it will accept is a quoted email address.
> use this
> ("\"Randall Perry\" <email@hidden>)")
>
> ----- Original Message -----
> From: "Randall Perry" <email@hidden>
> To: "Sako!" <email@hidden>; <email@hidden>
> Sent: Friday, April 23, 2004 3:16 PM
> Subject: Re: Using name and email address in WOMailDelivery
>
>
>> on 4/23/04 4:39 AM, Sako! at email@hidden wrote:
>>
>>> the Question is, where do you get the exception from?
>>> the NSArray doesnt accept ur String( what i dont think )? or
>>> the SMTP server doesnt understand this ("Randy Perry
> <email@hidden>"); !!
>> SMTP error
>>
>>> usually is like this (From: "Randall Perry" <email@hidden>)
>>> see ur mail client !.
>> Tried this:
>> from = "From: Randall Perry <email@hidden>";
>> And this:
>> from = "From: 'Randall Perry' <email@hidden>";
>>
>> No go.
>>
>>
>>> pease!
>>> ----- Original Message -----
>>> From: "Randall Perry" <email@hidden>
>>> To: <email@hidden>
>>> Sent: Thursday, April 22, 2004 3:31 AM
>>> Subject: Using name and email address in WOMailDelivery
>>>
>>>
>>>> Is it possible to include a name, as well as an email address, in the
> 'to'
>>>> array for WOMailDelivery. Tried this but it throws an exception:
>>>>
>>>> NSArray to = new NSArray("Randy Perry <email@hidden>");
>>>> sharedInstance.composePlainTextEmail(from, to, null, subject,
>>>> message, true);
>>>>
>>>> --
>>>> Randall Perry
>>
Do not post admin requests to the list. They will be ignored.
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.