Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-11 20:44:02 +0400
committerBart Visscher <bartv@thisnet.nl>2013-02-14 11:38:37 +0400
commitffae6f4b847e96d691053300c355ab81edc6c1c8 (patch)
tree928a210abf40ab333c0a08fb469be87c71147b24 /lib/mail.php
parent2d6d0a4ad438590504c13f04a6b2916a59a99c30 (diff)
Style-fix: Breakup long lines
Diffstat (limited to 'lib/mail.php')
-rw-r--r--lib/mail.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/mail.php b/lib/mail.php
index 1bb202ac977..22194045a76 100644
--- a/lib/mail.php
+++ b/lib/mail.php
@@ -32,7 +32,8 @@ class OC_Mail {
* @param string $bcc
* @throws Exception
*/
- public static function send($toaddress,$toname,$subject,$mailtext,$fromaddress,$fromname,$html=0,$altbody='',$ccaddress='',$ccname='', $bcc='') {
+ public static function send($toaddress, $toname, $subject, $mailtext, $fromaddress, $fromname,
+ $html=0, $altbody='', $ccaddress='', $ccname='', $bcc='') {
$SMTPMODE = OC_Config::getValue( 'mail_smtpmode', 'sendmail' );
$SMTPHOST = OC_Config::getValue( 'mail_smtphost', '127.0.0.1' );
@@ -97,7 +98,9 @@ class OC_Mail {
$mailo->Send();
unset($mailo);
- OC_Log::write('mail', 'Mail from '.$fromname.' ('.$fromaddress.')'.' to: '.$toname.'('.$toaddress.')'.' subject: '.$subject, OC_Log::DEBUG);
+ OC_Log::write('mail',
+ 'Mail from '.$fromname.' ('.$fromaddress.')'.' to: '.$toname.'('.$toaddress.')'.' subject: '.$subject,
+ OC_Log::DEBUG);
} catch (Exception $exception) {
OC_Log::write('mail', $exception->getMessage(), OC_Log::ERROR);
throw($exception);