nodemailer发送邮件各个服务器接口

2018-11-19 15:14:06

来自:https://github.com/nodemailer/nodemailer-wellknown/blob/master/services.json#L125

{

"1und1": {

"host": "smtp.1und1.de",

"port": 465,

"secure": true,

"authMethod": "LOGIN"

},



"AOL": {

"domains": [

"aol.com"

],

"host": "smtp.aol.com",

"port": 587

},



"DebugMail": {

"host": "debugmail.io",

"port": 25

},



"DynectEmail": {

"aliases": ["Dynect"],

"host": "smtp.dynect.net",

"port": 25

},



"FastMail": {

"domains": [

"fastmail.fm"

],

"host": "mail.messagingengine.com",

"port": 465,

"secure": true

},



"GandiMail": {

"aliases": [

"Gandi",

"Gandi Mail"

],

"host": "mail.gandi.net",

"port": 587

},



"Gmail": {

"aliases": [

"Google Mail"

],

"domains": [

"gmail.com",

"googlemail.com"

],

"host": "smtp.gmail.com",

"port": 465,

"secure": true

},



"Godaddy": {

"host": "smtpout.secureserver.net",

"port": 25

},



"GodaddyAsia": {

"host": "smtp.asia.secureserver.net",

"port": 25

},



"GodaddyEurope": {

"host": "smtp.europe.secureserver.net",

"port": 25

},



"hot.ee": {

"host": "mail.hot.ee"

},



"Hotmail": {

"aliases": [

"Outlook",

"Outlook.com",

"Hotmail.com"

],

"domains": [

"hotmail.com",

"outlook.com"

],

"host": "smtp.live.com",

"port": 587,

"tls": {

"ciphers": "SSLv3"

}

},



"iCloud": {

"aliases": ["Me", "Mac"],

"domains": [

"me.com",

"mac.com"

],

"host": "smtp.mail.me.com",

"port": 587

},



"mail.ee": {

"host": "smtp.mail.ee"

},



"Mail.ru": {

"host": "smtp.mail.ru",

"port": 465,

"secure": true

},



"Maildev": {

"port": 1025,

"ignoreTLS": true

},



"Mailgun": {

"host": "smtp.mailgun.org",

"port": 587

},



"Mailjet": {

"host": "in.mailjet.com",

"port": 587

},



"Mandrill": {

"host": "smtp.mandrillapp.com",

"port": 587

},



"Naver": {

"host": "smtp.naver.com",

"port": 587

},



"OpenMailBox": {

"aliases": [

"OMB",

"openmailbox.org"

],

"host": "smtp.openmailbox.org",

"port": 465,

"secure": true

},



"Outlook365": {

"host": "smtp.office365.com",

"port": 587,

"secure": false

},



"Pepipost": {

"aliases": ["Pepipost"],

"host": "smtp.pepipost.com",

"port": 2525

},



"Postmark": {

"aliases": ["PostmarkApp"],

"host": "smtp.postmarkapp.com",

"port": 2525

},



"QQ": {

"domains": [

"qq.com"

],

"host": "smtp.qq.com",

"port": 465,

"secure": true

},



"QQex": {

"aliases": ["QQ Enterprise"],

"domains": [

"exmail.qq.com"

],

"host": "smtp.exmail.qq.com",

"port": 465,

"secure": true

},



"SendCloud": {

"host": "smtpcloud.sohu.com",

"port": 25

},



"SendGrid": {

"host": "smtp.sendgrid.net",

"port": 587

},



"SendinBlue": {

"host": "smtp-relay.sendinblue.com",

"port": 587

},



"SES": {

"host": "email-smtp.us-east-1.amazonaws.com",

"port": 465,

"secure": true

},

"SES-US-EAST-1": {

"host": "email-smtp.us-east-1.amazonaws.com",

"port": 465,

"secure": true

},

"SES-US-WEST-2": {

"host": "email-smtp.us-west-2.amazonaws.com",

"port": 465,

"secure": true

},

"SES-EU-WEST-1": {

"host": "email-smtp.eu-west-1.amazonaws.com",

"port": 465,

"secure": true

},





"Sparkpost": {

"aliases": [

"SparkPost",

"SparkPost Mail"

],

"domains": [

"sparkpost.com"

],

"host": "smtp.sparkpostmail.com",

"port": 587,

"secure": false

},



"Yahoo": {

"domains": [

"yahoo.com"

],

"host": "smtp.mail.yahoo.com",

"port": 465,

"secure": true

},



"Yandex": {

"domains": [

"yandex.ru"

],

"host": "smtp.yandex.ru",

"port": 465,

"secure": true

},



"Zoho": {

"host": "smtp.zoho.com",

"port": 465,

"secure": true,

"authMethod": "LOGIN"

},

"126": {

"host": "smtp.126.com",

"port": 465,

"secure": true

},

"163": {

"host": "smtp.163.com",

"port": 465,

"secure": true

}



}
  • 2019-05-29 15:47:51

    撤销commit

    在git push的时候,有时候我们会想办法撤销git commit的内容

  • 2019-06-03 00:07:32

    Android程序Crash时的异常上报

    家都知道,android应用不可避免的会发生crash,无论你的程序写的多完美,总是无法完全避免crash的发生,可能是由于android系统底层的bug,也可能是由于不充分的机型适配或者是糟糕的网络状况。当crash发生时,系统会kill掉你的程序,表现就是闪退或者程序已停止运行,这对用户来说是很不友好的,也是开发者所不愿意看到的,更糟糕的是,当用户发生了crash,开发者却无法得知程序为何crash,即便你想去解决这个crash,但是由于你无法知道用户当时的crash信息,所以你也无能为力。是否真的这样呢,其实android中有处理这类问题的方法,请看下面Thread类中的一个方法#setDefaultUncaughtExceptionHandler

  • 2019-06-04 16:40:30

    为了美观当网页图片不存在时不显示叉叉图片

    当在页面显示的时候,万一图片被移动了位置或者丢失的话,将会在页面显示一个带X的图片,很是影响用户的体验。即使使用alt属性给出了”图片XX”的提示信息,也起不了多大作用。

  • 2019-06-04 17:38:44

    PHP时间转换今天昨天前天几天前

    实际情况应该是,昨天任何时间都算一天前,前天任意时间都算2天前,所以自己琢磨了一番,去动态更新时间与今天23:59:59相差的时间秒数与86400(24 x 3600)相除后,向下取整,这样就得到了相差的天数,比如昨天00:00~昨天23:59:59的任何时间与今天的23:59:59,都相差 86400~(86400 x 2) 天,也就是2天。

  • 2019-06-04 17:44:14

    【VUE】图片预览放大缩小插件

    在看项目时,突然看到预览图片的弹窗,感觉好僵硬,不能放大,不能切换,于是便在网上找下关于图片预览的插件,有找到三个插件,具体的优劣势的看自己的使用吧,我目前只是在电脑查看效果,分别是viewerjs插件、基于photoswipe的vue-photo-preview插件以及vue-picture-preview插件 作者:北极星丶超帅的 链接:https://www.jianshu.com/p/e3350aa1b0d0 来源:简书 简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。