• 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
NSMailDelivery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMailDelivery


  • Subject: NSMailDelivery
  • From: devmaillists <email@hidden>
  • Date: Wed, 22 Feb 2006 18:35:42 +0100

Dear List,

I try to use in our product NSMailDelivery to send a feedback to the user.
But I do not get it reliable to work.
In some discussions they tell to do the right settings of
System Preferences-> Internet -> Mail.
But there are no system preferences with that name.
So what could cause NSMailDelivery to work so fuzzy.


the result of deliverMessage is now on this machine I am working on always NO.


My Sample:
if([NSMailDelivery hasDeliveryClassBeenConfigured]){
if(senderMailAdd && eMailAdd && theSubject && theBody){
NS_DURING
if([NSMailDelivery deliverMessage:theBody subject:theSubject to:eMailAdd]){


result= YES;
}
NS_HANDLER
NSLog(@"NSMailDelivery: an exception was raised: %@", [localException reason]);
NS_ENDHANDLER
}
}



Any suggestions welcome.

Thx Jürgen Sauerzapf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSMailDelivery
      • From: Ryan Britton <email@hidden>
  • Prev by Date: Re: Retain Release functionality in C++ library
  • Next by Date: Re: NSScriptCoercionHandler ?
  • Previous by thread: Re: NSTableView and background color
  • Next by thread: Re: NSMailDelivery
  • Index(es):
    • Date
    • Thread