Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

BenoitMC/sendmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sendmail

Sendmail command in Ruby.

Usage

require "sendmail"

Sendmail.sendmail! "Subject: Hello\n\nText...", to: "to@example.tld"
#=> true/false

include Sendmail

sendmail! "Subject: Hello\n\nText...", to: "to@example.tld"
#=> true/false

Change sendmail bin :

Sendmail.bin = "/path/to/sendmail"

Default bin is "sendmail".

Change sendmail arguments :

Sendmail.args = "-it"

Default arguments is "-i"

Install

gem install sendmail-command

About

Sendmail command in Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages