diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-02-17 23:20:40 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-02-17 23:20:40 +0100 |
commit | 98c868589ee0757f176239cf289cbd007bb74852 (patch) | |
tree | eb48a172b0f1a423b93ffff35f8adf8d579383c1 /inc/mail.php | |
parent | 1c73890c5027011d808d38c583561abc309e8086 (diff) | |
download | rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.gz rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.bz2 |
file cleanups
This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)
It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.
darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
Diffstat (limited to 'inc/mail.php')
-rw-r--r-- | inc/mail.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/mail.php b/inc/mail.php index eeef4f66b..b4ca10551 100644 --- a/inc/mail.php +++ b/inc/mail.php @@ -22,7 +22,7 @@ * @param string $to Receiver of the mail (multiple seperated by commas) * @param string $subject Mailsubject * @param string $body Messagebody - * @param string $from Sender address + * @param string $from Sender address * @param string $cc CarbonCopy receiver (multiple seperated by commas) * @param string $bcc BlindCarbonCopy receiver (multiple seperated by commas) * @param string $headers Additional Headers (seperated by MAILHEADER_EOL @@ -122,7 +122,7 @@ function mail_encode_address($string,$header='',$names=true){ $text = '=?UTF-8?Q?'.mail_quotedprintable_encode($text).'?='; } } - + // add to header comma seperated and in new line to avoid too long headers if($headers != '') $headers .= ','.MAILHEADER_EOL.' '; $headers .= $text.$addr; @@ -140,7 +140,7 @@ function mail_encode_address($string,$header='',$names=true){ * Uses a regular expresion to check if a given mail address is valid * * May not be completly RFC conform! - * + * * @link http://www.webmasterworld.com/forum88/135.htm * * @param string $email the address to check |