You are here: Fax API > Email Interface > Email Interface Samples
InterFAX Email Interface
Email Interface Samples
The email message may be generated from any environment that can send a standard SMTP email. The following examples show syntax and required fields for the most popular faxing scenarios. For the full list of options see the Email Interface Object Reference.
Email Body Only
From: sender@sendaddress.com To: +1(212)555-9999@fax.tc Subject: Here's a test fax Message: Here comes a long message. If there is no file attachment, the message body is sent.
Attachment Only
From: sender@sendaddress.com To: +1(212)555-9999@fax.tc Subject: Here's a test fax Attachment: Quotation.doc Message: This message will be ignored and only the attachment will be sent because there is no /b modifier at the end of the subject line.
Email Body and Attachment
From: sender@sendaddress.com To: +1(212)555-9999@fax.tc Subject: Here's a test fax /b Attachment: Quotation.doc Message: In this case both this message body AND the attachment will be faxed because there is a /b modifier at the end of the subject line.
Deferred Transmission
From: sender@sendaddress.com To: +1(212)555-9999@fax.tc Subject: Here's a test fax /d 2002-12-31 00:45 Message: In this case the message will be faxed at a later time. The /d modifier works with the following date format: yyyy-mm-dd hh:mm. If no date is entered, the current date is assumed.