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 09:16:04 -0400
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
--
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.