HEADER argument allows inserting any custom field into an email header. Some of the standard header fields include From, Reply-To, Subject, Date, etc.
Command syntax
- febootimail -HEADER "X-Disclaimer: Email is confidential"
- febootimail -HEADER "X-Confirm-Reading-To: confirm@example.com"
- febootimail -HEADER "X-Node-Server: 192.168.akadns-2042-0384-2983"
Setting custom headers is useful in cases when there is a need to provide additional meta information to the email. Some popular custom headers include: References, Sender, Archived-At, X-Auto-Response-Suppress, Return-Path, Auto-Submitted.
febootimail -SERVER smtp.example.net -FROM ed@example.net -TO charlotte@example.com -TEXT Sending an email with a custom header field -HEADER "X-Errors-To: errors@example.org"
If a date is specified in a custom header, Command Line Email does not use the original date field.
Related commands
Quick look
- Quick start · start sending the CMD email in minutes
- Tips & Tricks · a few quick email tricks
- Email attachments · use simple wildcards or advanced file masks to attach multiple files
- Debug email client-server connection · use DEBUG and advanced DEBUGX commands
- Parameter substitution using USEFILE and CONFIG · use a text file as any parameter
- Batch file & errorlevels · errorlevel values can be used in conditional processing
- Command Line Email parameters · see all email commands
Need help?
If you have any questions, please do not hesitate to contact our support team.