• 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: a question about Pantomime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a question about Pantomime


  • Subject: Re: a question about Pantomime
  • From: Hasan Diwan <email@hidden>
  • Date: Thu, 8 Apr 2004 09:18:29 -0700

Lorenzo:
A personal note -- when I tried to use Pantomime, I found it to be
extremely slow and difficult to use. What I ended up doing is using the
JavaMail framework and the Java bridge. Until Pantomime gets a little
more mature, I'd stay away from it. That said, I've tried my best to
understand what is going on with your problems:
On Apr 8, 2004, at 2:34 AM, Lorenzo wrote:

> so, in order to take the current user default internet parameters:
> Username, Password, Email (from), Hostname, SMTP
> Require Authentication, and if yes, Username and Password to
> authenticate,
> I have just taken a look at the file
> ~/Library/Preferences/com.apple.internetconfig.plist
> using BBEdit, but unlikely you say, the strings "SMTPHost" or "SMTP"
> don't
> exist.
>
>
> Instead I found something in the file:
> ~/Library/Preferences/com.apple.mail.plist
> it contains a DeliveryAccounts array, whose the first item contains the
> Hostname = "smtp.mac.com". Good Start.
>
>
> Just below a new array "MailAccounts" contains some items.
> The first item it's something strange. I never defined it. It reports
> AccountType = LocalAccount and doesn't report the information I need. I
> presume I should skip it all the time.

Pantomime supports local mbox access. Perhaps this is
"LocalAccount"?
> The second item reports my username "archidea" but there is no
> information
> to connect this account to the DeliverAccount (thus the SMTP).
> I noted that it reports AccountType = iToolsAccount and AccountName =
> email@hidden (my email address).
> So, since there could be many DeliverAccounts items and many
> MailAccounts
> items I don't know how to connect the AccountName "email@hidden"
> to its
> SMTP host.
> I noted that in the plist file, this
> "connection-mail-to-deliver-account"
> information is missed only in case of mac.com accounts (where
> AccountType = iToolsAccount).

The iToolsAccount configuration is hardcoded into Mac OS X.
> Instead if I define a new POP MailAccount (AccountType = POPAccount),
> it
> reports the SMTPIdentifier, the Hostname and the EmailAddresses keys
> properly. This works. But, how to get the internet parameters when the
> email
> account is a mac.com account?
Define it as a POP Account; you'll need the following information:
Mail server: mail.mac.com
AccountType: POPAccount or IMAPAccount
Username: archidea
Anything else that's needed?
>
> Last, I suppose than I need to get the passwords. I hope no, but if I
> need,
> should I access the keychain? If so, amazing: a new chapter to learn.
> And, guess what, why do I need to use Pantomime and retrive all of
> those
> informations in order to send an email? Because "sometimes" the Cocoa
> API
> "deliverMessage" doesn't work.
GNUMail is pretty well-designed and serves as reasonably good
example code for using Pantomime. I believe it does use the Keychain.
It is open-source.
Hasan Diwan {http://ibn.com/~hdiwan}
OpenPGP Fingerprint: 275D 0E84 550C D92A 4A56 732C 8528 2579 E6E9 4842

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


  • Follow-Ups:
    • Re: a question about Pantomime
      • From: Yury Peskin <email@hidden>
    • Re: a question about Pantomime
      • From: Matt Gillette <email@hidden>
References: 
 >Re: a question about Pantomime (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Lost IBOutlet.
  • Next by Date: Re: Getting font color change messages in view
  • Previous by thread: Re: a question about Pantomime
  • Next by thread: Re: a question about Pantomime
  • Index(es):
    • Date
    • Thread