From header and NSMailDelivery (was Re: Sending Email with Attachments)
From header and NSMailDelivery (was Re: Sending Email with Attachments)
- Subject: From header and NSMailDelivery (was Re: Sending Email with Attachments)
- From: Alex Rice <email@hidden>
- Date: Mon, 3 Feb 2003 23:51:26 -0700
On Friday, January 24, 2003, at 04:18 PM, Joseph Jones wrote:
Here is what I have:
[headers setObject:smtpFromAddress forKey:@"From"];
[headers setObject:to forKey:@"To"];
[headers setObject:subject forKey:@"Subject"];
[headers setObject:@"Apple Message" forKey:@"X-Mailer"];
[headers setObject:@"multipart/mixed" forKey:@"Content-Type"];
[headers setObject:@"1.0" forKey:@"Mime-Version"];
sent = [NSMailDelivery deliverMessage: msg
headers:headers
format:NSMIMEMailFormat
protocol: NSSMTPDeliveryProtocol];
Are you seeing the From: header in the sent message? NSMailDelivery
seems to strip it out for me. I am using Errors-To: header for a
workaround but I would like control of the From: header. Anyone know if
NSMailDelivery can do this?
Alex Rice <email@hidden> | Mindlube Software |
http://mindlube.com
what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.