Send email with attachments

To add files as email attachments use ATTACH (or FILE) parameter.

Attachments: files that are linked to an email message. Some examples are: photos, word processing documents, spreadsheets, zip archives, sound, video etc. Some email servers might have trouble handling large files. It is usually best to limit yourself to files of 10-20MB or less (febootimail supports virtually unlimited file size attachments).

Example of sending email with one attachment:

C:\>febootimail -FROM joe@sender.com -TO ryan@example.com -ATTACH C:\folder\document.doc -SUBJ Single file attachment -TEXT Sending command line email with single attachment.

Example of sending email with three files attached:

C:\>febootimail -FROM david@sender.com -TO ryan@example.com -FILE image.jpg -FILE ..\pictures.gif -FILE c:\files\document.doc -SUBJ Three files attached -TEXT "Sending command line email with three attachments using current, relative and absolute paths."

Note! In both examples above, localhost is used as SMTP mail server. Usually, it is required to specify SMTP server manually using SMTP parameter. Server authentication is performed with AUTH, USER and PASS parameters. Example with authentication:

C:\>febootimail -FROM david@sender.com -TO ryan@example.com -SUBJ Authentication and attachments -TEXT "Using server authentication and sending file" -FILE image043.jpg -SMTP mail.example.com -AUTH AUTO -USER david -PASS ********
Resources:

If you have any questions, please do not hesitate to contact our support team.

© 2001–2017 Febooti Ltd.