mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#18709101 : change mail format for windows
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7406 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4b4e01b81d
commit
b8910c3d2d
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
|
||||
function getSender() {
|
||||
if($this->sender_name) return sprintf("%s <%s>", '=?utf-8?b?'.base64_encode($this->sender_name).'?=', $this->sender_email);
|
||||
if(!stristr(PHP_OS, 'win') && $this->sender_name) return sprintf("%s <%s>", '=?utf-8?b?'.base64_encode($this->sender_name).'?=', $this->sender_email);
|
||||
return $this->sender_email;
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
}
|
||||
|
||||
function getReceiptor() {
|
||||
if($this->receiptor_name && $this->receiptor_name != $this->receiptor_email) return sprintf("%s <%s>", '=?utf-8?b?'.base64_encode($this->receiptor_name).'?=', $this->receiptor_email);
|
||||
if(!stristr(PHP_OS, 'win') && $this->receiptor_name && $this->receiptor_name != $this->receiptor_email) return sprintf("%s <%s>", '=?utf-8?b?'.base64_encode($this->receiptor_name).'?=', $this->receiptor_email);
|
||||
return $this->receiptor_email;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue