Latest 0.0.1
Homepage https://github.com/jeffssss/JFMail
License Apache License 2.0
Platforms ios 8.0, requires ARC
Frameworks CFNetwork, Foundation
Authors

A simple iOS SMTP client.

ARC version of skpsmtpmessage

Thanks to jetseven, I learn a lot his skpsmtpmessage project.

Fixied probleams:

  1. Can’t send mail in concurrent thread.
  2. Chinese character encoding of attachment filename.

new feature:

  1. A more friendly way to create Part NSDictionary.
  2. You can edit fromEmail username by setting property fromName.

Any probleam, please issue. I will reply as soon as possible.

Use JFMail

use pod 'JFMail', '~> 0.0.1' or copy files in JFMail/lib/ into your own project.

Demo

  1. open JFMail.xcodeproj
  2. change JFMail/ViewController.m, edit your email infomation and the right SMTP server URL

    JFMailSender *mailSender = [[JFMailSender alloc] init];
    mailSender.fromEmail = @"[email protected]";
    mailSender.toEmail = @"[email protected]";
    mailSender.relayHost = @"smtp.163.com";
    mailSender.requiresAuth = YES;
    mailSender.login = @"[email protected]";
    mailSender.pass = @"example";
  3. run the project.

Latest podspec

{
    "name": "JFMail",
    "version": "0.0.1",
    "summary": "smtp client for ios.",
    "homepage": "https://github.com/jeffssss/JFMail",
    "platforms": {
        "ios": "8.0"
    },
    "license": "Apache License 2.0",
    "authors": {
        "jeffssss": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jeffssss/JFMail.git",
        "tag": "0.0.1"
    },
    "source_files": "lib/*.{h,m}",
    "frameworks": [
        "CFNetwork",
        "Foundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This