216 Commits
Author SHA1 Message Date
Giovanni Donelli 817197d390 new call to set HTML and Text body at once 2014-10-30 11:35:29 -07:00
Matt Ronge 3732a9769e Check for NULL buffer as well 2014-02-03 18:16:50 -06:00
Matt Ronge 6a4cd6a255 Copy paste error, dammit 2014-02-03 18:06:33 -06:00
Matt Ronge 33069f8df1 Protect against NULL mailbox names 2014-02-03 18:01:09 -06:00
Matt Ronge 1d4ee055d3 Don't include empty BCC field 2014-01-28 11:26:05 -06:00
Matt Ronge b85d0934c8 Don't include inline disposition on HTML parts 2013-11-21 13:00:10 -05:00
Matt Ronge e58612d790 Attachments from outlook now get properly handled 2013-09-06 12:53:47 -05:00
Matt Ronge 1b20901351 Merge branch 'master' of github.com:mronge/MailCore 2013-06-03 15:22:12 -05:00
Matt Ronge b048483811 Strip out BCC before sending 2013-06-03 15:22:00 -05:00
Matt Ronge d716226a79 Merge pull request #91 from pitiphong-p/outgoing_priority_header
Add support for outgoing mail priority header.
2013-06-01 18:08:43 -07:00
Matt Ronge 66a851115d Merge pull request #105 from pitiphong-p/fix_crash_xlist_return_NoInferiors
Fixed crash when XLIST command return \NoInferiors flag.
2013-06-01 18:07:42 -07:00
Matt Ronge dd2ad745e7 Merge pull request #108 from tipbit/is-deleted
Implement [CTCoreMessage isDeleted].
2013-06-01 18:06:24 -07:00
Ewan Mellor e6d5e8648e Put the hard-coded error domain name in a #define.
This allows callers to use the name without hard-coding it themselves.
2013-05-27 12:07:26 -07:00
Ewan Mellor 905bf5aeaa Implement [CTCoreMessage isDeleted].
This cleans up some almost-copy-and-paste code at the same time.
2013-05-25 22:13:35 -07:00
Pitiphong Phongpattranont 814478c94d Fixed crash when XLIST command return \NoInferiors flag. 2013-05-17 17:08:24 +07:00
Matt Ronge 8fb4ed3bbe Merge pull request #84 from pitiphong-p/extionsion_flags_support
Support for get/set the extension flags for CTCoreMessage.
2013-04-04 17:15:57 -07:00
DanGonz 73380c7541 Fix to CTSMTPAsyncConnection so that it can also use SMTP with SSL on port 465.
Copied the changes made in the commit to CTSMTPConnection 2ac9928971 on 20th November 2012 to enable the same feature.
2013-04-04 23:52:27 +01:00
Pitiphong Phongpattranont 2e1e550483 Beautify the code. With 120 character page guide. 2013-04-04 13:45:51 +07:00
Pitiphong Phongpattranont 1169458c58 Rename the mail core utility functions. Add the 'MailCore' namespace. 2013-04-04 13:38:17 +07:00
Pitiphong Phongpattranont 2d6e895593 Add support for outgoing mail priority header. 2013-04-02 16:37:49 +07:00
Pitiphong Phongpattranont 00d390c35e Add Fetching mail with UID or Sequence number Index set. 2013-04-01 23:42:09 +07:00
Matt Ronge 1e8a68c08b Merge pull request #85 from dropperY/fix-copy-filename
fix copy filename
2013-03-25 12:06:52 -07:00
Xiaocheng Ye e22aca18fc fix the copy filename 2013-03-22 23:46:14 +08:00
Pitiphong Phongpattranont f9f2b930d8 Support for get/set the extension flags for CTCoreMessage. 2013-03-21 15:32:41 +07:00
Matt Ronge 8e7d1c50d6 Clean up some method docs, fixes #83 2013-03-19 11:33:07 -10:00
Matt Ronge 28aa229fdd Merge pull request #64 from ghdk/InvalidMailMessageDereferences
Protects the dereferences of the struct mailmessage *myMessage.
2013-03-14 14:03:28 -07:00
Matt Ronge b74d05fcfb Fix problem with Chinese folder names not working with move/copy. Fixes #73 2013-03-14 16:02:12 -05:00
Matt Ronge ee1760ebaf Import of CTXlistResult was messed up. Fixed #78 2013-03-14 15:49:17 -05:00
Pitiphong Phongpattranont 15fe9c9210 Fixed: Cannot set the folder's path. 2013-03-06 14:58:36 +07:00
Matt Ronge b52df2d647 No longer always download RFC822.Size as it is slow on some servers 2013-02-28 22:12:26 -06:00
Matt Ronge 95861d3764 Change to CTCoreAddress description output 2013-02-28 22:12:04 -06:00
Matt Ronge 0c096356c0 More error handling when fetching message body 2013-02-28 14:31:29 -06:00
Matt Ronge d5b029aa80 Merge branch 'master' of github.com:mronge/MailCore 2013-02-08 11:45:17 -06:00
Matt Ronge bc90b0946f Added a way to get at a single parts struct mailmime_single_fields 2013-02-08 11:45:08 -06:00
Scott Nonnenberg 1934f9cd51 CTCoreMessage.htmlBody now behaves like .body
It calls fetchBodyStructure if myFields or myParsedMIME is null, just like .body does. Two new tests added; the change to htmlBody is required to get them both to pass.
2012-12-21 15:15:05 -08:00
Scott Nonnenberg dcd20b44d7 Fix to Core Folder tests; senderDate returns nil
Noticed that this change was necessary to get all Core Folder tests passing. Those tests expected senderDate to return nil if there was no message loaded.
2012-12-20 20:18:12 -08:00
Matt Ronge 9c6c77e15b Appended messages are marked as unread 2012-12-20 16:35:20 -06:00
Matt Ronge 1e5dbbbd19 Always parse content ID if is part of the MIME fields 2012-12-07 15:54:56 -06:00
Dionysios Kalofonos d9a69fe3c7 Protects the dereferences of the struct mailmessage *myMessage. 2012-12-01 18:00:49 +02:00
Matt Ronge 1ce31638f1 Reverting mem leak fix, seems to be causing crashers 2012-11-26 14:03:26 -06:00
Matt Ronge 2eeb378cf3 Merge branch 'master' of github.com:mronge/MailCore 2012-11-24 21:54:28 -06:00
Matt Ronge 3449724ef5 Merge branch 'smtp_tls' 2012-11-24 20:41:44 -06:00
Matt Ronge 5515f5c5d2 Minor brace formatting changes 2012-11-24 20:11:39 -06:00
Matt Ronge 50f14d03f4 Merge pull request #60 from ghdk/CTCoreMessageMemLeaksFixes
Fixes for CTCoreMessage memory leaks.
2012-11-24 18:09:56 -08:00
Matt Ronge 405965d4a8 Cleaned up the message date methods. Only senderDate remains
The other methods have been deleted, as the timezone is only taken into
account when formatting as a string for display. The NSDate is an absolute
time and there is an attached timezone that is used for display purposes.
2012-11-24 19:59:08 -06:00
Matt Ronge e452c5c34d Added hasBodyStructure to check if body structure has been downloaded (thanks Daishi) 2012-11-24 19:50:23 -06:00
Matt Ronge 2ac9928971 Added TLS support for SMTP 2012-11-20 13:41:39 -06:00
Matt Ronge 1766cf21d2 Merged 2012-11-19 10:29:40 -06:00
Dionysios Kalofonos a608925308 Fixes for CTCoreMessage memory leaks. 2012-11-17 19:10:27 +02:00
Kris Wong bb29c7911f Additional cleanups for memory handling. 2012-11-16 17:37:26 -06:00