Thứ Hai, 16 tháng 11, 2009

Cú pháp hàm MailTo

Cú pháp hàm MailTo
     
Syntax
Address message to multiple recipients : ,   (comma separating e-mail addresses)
Add entry in the "Subject" field: subject=Subject Field Text
Add entry in the "Copy To" or "CC" field : cc=id@internet.node
Add entry in the "Blind Copy To" or "BCC" field : bcc=id@internet.node
Add entry in the "Body" field: body=Your message here
Within the body use "%0A" for a new line: use "%0A%0A" for a new line preceded by a blank line (paragraph),

Ví dụ:
Notes:
" " (beginning and ending double quotes) are necessary if any spaces are used
Mailto parameter should be preceded by "?" for the first or only parameter and "&" for second and subsequent parameter.
Some examples, with actual HTML Code included, follow:
Simple MailTo

MailTo with Multiple Recipients

MailTo with Subject

MailTo with a Copy

MailTo with a Blind Copy

MailTo with message already started in Body

MailTo with multiline message in Body

NOTE: Use "%0A" for a new line, use "%0A%0A" for a new line preceded by a blank line.
Features may be used in combination
MailTo with Subject, a Recipient, a Copy and a Blind Copy

Remember to use only one ? (question mark), when providing multiple entries beyond e-mail address

Không có nhận xét nào:

Đăng nhận xét