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 email@example.com -TO firstname.lastname@example.org -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 email@example.com -TO firstname.lastname@example.org -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 email@example.com -TO firstname.lastname@example.org -SUBJ Authentication and attachments -TEXT "Using server authentication and sending file" -FILE image043.jpg -SMTP mail.example.com -AUTH AUTO -USER david -PASS ********
If you have any questions, please do not hesitate to contact our support team.