Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (19 sloc) 0.619 kB

Transaction Object

An SMTP transaction is valid from MAIL FROM time until RSET or "final-dot".

API

  • transaction.mail_from

The value of the MAIL FROM command

  • transaction.rcpt_to

An Array of values of recipients from the RCPT TO command

  • transaction.data_lines

An Array of the lines of the email after DATA

  • transaction.data_bytes

The number of bytes in the email after DATA

  • transaction.add_header(key, value)

Adds a header to the email

  • transaction.add_data(line)

Adds a line of data to the email

  • transaction.notes

A safe place to store transaction specific values.

Jump to Line
Something went wrong with that request. Please try again.