|
How to add attachments to your email:
-
Open: Your email template
-
Select: 'Add Option' button
-
Select: 'Attachments'
-
Select: Folder or Files
to attach
Attachment Options:
For Programmers
Below shows examples of the syntax
required when creating email by other programs, scripts or batch files that will
be sent by eeMailer's outbox.
Add
attachments by adding the syntax: 'Attachment' after the 'Subject' line.
Subject: Put your subject line here
Attachment: File
path and file name.
Plain Text Format:
From: "Senders Name" <sender's
email address>
To: "Recipients Name" <recipient's
email address>
Date: %TimeStamp%
Subject:
Put your subject line here
Attachment:
c:\My
folder\change log.txt
Put your 'message' here.
HTML Format:
From: "Senders Name" <sender's
email address>
To: "Recipients Name" <recipient's
email address>
Date: %TimeStamp%
Subject: Put your subject line here
Mime-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Attachment:
c:\My
folder\system log.txt
Put your HTML 'Message' here.
Adding
Multiple Attachments By File Name:
From: "Senders Name" <sender's
email address>
To: "Recipients Name" <recipient's
email address>
Date: %TimeStamp%
Subject:
Put your subject line here
Attachment:
c:\My
folder\change log.txt
Attachment:
c:\My
folder\System\system log.txt
Attachment:
c:\My
folder\Error\error log.txt
Put your 'message' here.
Using
Wild Cards to attach multiple files:
This example will attach
all 'jpg'
photos in the specified folder.
From:
"Senders Name" <sender's
email address>
To:
"Recipients Name" <recipient's
email address>
Date: %TimeStamp%
Subject: Put your subject line here
Attachment:
c:\My folder\*.jpg
Put your 'message' here.
Using a
Dynamic Variable:
You can use software, batch file
or script to replace the following dynamic variable %attachments% in your template
with your file names.
Attachment:
%attachments%
Wild Card
Examples:
|
Attach everything in folder: |
Attachment: c:\My
Folder\*.* |
|
Attach all 'jpg' photos: |
Attachment: c:\My
Folder\*.jpg |
|
Attach files starting with 'sys': |
Attachment: c:\My
Folder\sys.* |
|
Notes: |
A blank line
is required between the 'Subject' and the
email 'Message' body. |
| |
Replace everything in " blue"
with your data. Do not remove the formatting characters:
" " and < >
|
| |
Attachment file names MAY have spaces |
| |
Attachment file
names ARE NOT case sensitive. |
|