All Projects → selectel → pat

selectel / pat

Licence: MIT license
Pat, the only SMTP postman!

Programming Languages

erlang
1774 projects

Projects that are alternatives of or similar to pat

postal
✉️ A fully featured open source mail delivery platform for incoming & outgoing e-mail
Stars: ✭ 12,134 (+52656.52%)
Mutual labels:  smtp
pipe-mail
A tool to easily send e-mails from the command line
Stars: ✭ 34 (+47.83%)
Mutual labels:  smtp
tricks
Tipps und Tricks rund um REDAXO 5
Stars: ✭ 96 (+317.39%)
Mutual labels:  community
community
FINOS Community, Project and SIG wide collaboration space
Stars: ✭ 43 (+86.96%)
Mutual labels:  community
synchly
Automate database backups with customizable recurring schedules.
Stars: ✭ 27 (+17.39%)
Mutual labels:  smtp
Perfect-SMTP
SMTP Client for Perfect.
Stars: ✭ 19 (-17.39%)
Mutual labels:  smtp
NanoSoft
A forum system built using plain php dedicated for C#.NET Developers
Stars: ✭ 20 (-13.04%)
Mutual labels:  community
BnademOverflow
BnademOverFlow's Official Website
Stars: ✭ 37 (+60.87%)
Mutual labels:  community
MachineLearning
Established in 2018, our team aims to bring together machine learning enthusiasts to explore the fundamentals and trends of machine learning. Check out the team presentation below!
Stars: ✭ 20 (-13.04%)
Mutual labels:  community
autoscreen
Automated screen capture utility
Stars: ✭ 76 (+230.43%)
Mutual labels:  smtp
community
基于spring boot与mybatis搭建的社区
Stars: ✭ 18 (-21.74%)
Mutual labels:  community
berlin
🐻 learn coding with nodeschool berlin (๑>ᴗ<๑)
Stars: ✭ 54 (+134.78%)
Mutual labels:  community
mirror-sync
Collection of scripts for linux rpm/deb repositories mirroring
Stars: ✭ 18 (-21.74%)
Mutual labels:  community
smtp-email-spoofer-py
Python 3.x based email spoofer
Stars: ✭ 134 (+482.61%)
Mutual labels:  smtp
wp-smtp
Simple package for handling WordPress SMTP with .env when using the Roots stack.
Stars: ✭ 31 (+34.78%)
Mutual labels:  smtp
polskifrontend
Polski Frontend to agregator blogów, podcastów i kanałów wideo polskiej sceny frontendowej.
Stars: ✭ 45 (+95.65%)
Mutual labels:  community
FDIPs
Fusion open source community (FOSC) improvement proposals
Stars: ✭ 54 (+134.78%)
Mutual labels:  community
guides
How we do things at OK GROW!
Stars: ✭ 16 (-30.43%)
Mutual labels:  community
gosquito
gosquito ("go" + "mosquito") is a pluggable tool for data gathering, data processing and data transmitting to various destinations.
Stars: ✭ 25 (+8.7%)
Mutual labels:  smtp
superhighway84
USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
Stars: ✭ 437 (+1800%)
Mutual labels:  community

Build Status

_
|_) _ _|_
|  (_| |_

    -- the only SMTP postman!

pat is an easy to use SMTP client for Erlang. You only need to remember two functions:

  • pat:connect/2 takes an SMTP relay as a {Host, Port} pair and a list of supported options (see below) and opens an SMTP connection.
  • pat:send/2 sends a given email via an SMTP connection.

Example

(pat@postoffice)1> Opts = [{user, <<"pat">>}, {password, <<"postman">>}],
(pat@postoffice)2> Conn = pat:connect({<<"smtp.yandex.ru">>, 25}, Opts),
(pat@postoffice)3> rr("include/*").
(pat@postoffice)4> Email = #email{sender= <<"[email protected]">>,
(pat@postoffice)4>                recipients=[<<"[email protected]">>],
(pat@postoffice)4>                message= <<"Hello world!">>}.
(pat@postoffice)5> pat:send(Conn, Email).
{ok,<<"2.0.0 Ok: queued on smtp13.mail.yandex.net as mM6eOXwj-mM642Fvi">>}

Options

ssl

Type: boolean()

Description: Connect to the SMTP server using a secure socket.

tls

Type: never | maybe | always

Description: Connect to the SMTP server via an unsecure socket and start TLS session afterward. maybe means TLS session will be sarted only if the relay supports STARTTLS.

auth

Type: never | maybe | always

Description: Authenticate with the SMTP server after connecting. When maybe, authentication is only performed if the server requires it.

user and pasword

Type: binary()

Description: The meaning is self explanatory. Should be used with auth.

timeout

Type: timeout()

Description: Sets a timeout (in seconds) for the underlying gen_server.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].