Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Simple text only smtp, sendmail and linux style file based quene.

NotificationsYou must be signed in to change notification settings

gotamer/mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc Send

$ sendmail -h  -b string        Mail body text  -c string        Config file location (default"/etc/sendmail.json")  -d    Debug mode  -f string        Mail From email address  -h    Displayhelp  -now        Send message now, message will not be added to Queue  -run        Process Queue  -s string        Mail subject line  -t string        Mail To email address

Sending mail with sendmail over smtp

$ go get github.com/gotamer/mail/cmd/sendmail# mkdir  /var/spool/queue# chown mail:mail /var/spool/queue# cd /usr/local/bin# ln -s $GOBIN/sendmail$ sudo runuser -u mail -- sendmail -t user@example.com -s"My subject" -b"Body of mail"$ sudo runuser -u mail -- sendmail -run

gotamer/mail/send also implements the io.Writer interface.

gotamer/mail/imap

GoDoc Imap

gotamer/mail/imap to get mail from an imap server

About

Simple text only smtp, sendmail and linux style file based quene.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp