Base on PHPMailer by Brent R.
Matzelle, PEMail is a PHP version
of EMail program. The program enables you to
send an Email by a script file in background
environment. The formats of script file are compliance with EMail
program (Old version of MS EMail program)
with more futures.
Call out the program with
parameters as follows.
PEMail script_file [-u|U:username] [-p|P:password]
| script_file |
EMail script
file name. |
| -u|U:username |
Authentication
user name. |
| -p|P:password |
Authentication
pass word. |
script_file directives:
|
CharSet:CharSet_Name |
Set Character
Set(default is BIG5). |
| * |
SMTP:server
IP/Name |
Set SMTP
server. |
| * |
FROM:Address |
Set from
address. |
|
FromName:from
name |
Set from name. |
| M |
ReplyTo:Address |
Set reply_to
address. |
| M* |
TO:Address |
Adds a
to_address. |
|
IsHTML |
Set body is
HTML flag. |
| M |
cc:Address |
Adds a
cc_address. |
| M |
bcc:Address |
Adds a
Bcc_address. |
|
Subject:Message |
Sets the
Subject of the message. |
| M |
Attachment:File_Name |
Adds an
attachment. |
|
WordWrap:value |
Set WordWrap
value. |
|
Priority:value |
1 = High, 3 =
Normal, 5 = low. |
|
Port:value |
Set Port value. |
|
Confirm:Address |
Set Confirm
reading address. |
| * |
body |
The following
lines are body. |
*:must provided, M:Multiple value parameter.