mini\Mail\SendmailTransport class

Documentation

Mail transport using the sendmail binary

This transport pipes the complete RFC 5322 message directly to sendmail. The Email's StreamInterface provides headers + body in wire format.

Usage: $transport = new SendmailTransport(); // Uses /usr/sbin/sendmail $transport = new SendmailTransport('/usr/local/bin/sendmail');

Inheritance

Implements: mini\Mail\MailTransportInterface

Properties (1)

private string $command

Methods (2)

Documentation missing

Documentation missing

Source

src/Mail/SendmailTransport.php:15-85