Changeset 5248
- Timestamp:
- Feb 19, 2008, 7:16:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/webapp/lib/mail/sns.php
r5238 r5248 21 21 $this->c_member_id = do_common_c_member_id4ktai_address($this->from); 22 22 23 // メンバーIDが見つからない場合、 24 // - 二重引用符がある場合:二重引用符を除去してリトライ 25 // - 二重引用符がない場合:ローカルパートに二重引用符を付加してリトライ 23 // メンバーIDが見つからない場合は、ローカルパートに二重引用符を付加してリトライ 26 24 if (!$this->c_member_id) { 27 25 list($local, $domain) = explode('@', $this->from, 2); 28 if (strpos($this->from, '"') !== false) { 29 $local = str_replace('"', '', $local); 30 } else { 31 $local = '"' . $local . '"'; 32 } 33 $this->c_member_id = do_common_c_member_id4ktai_address($local . '@' . $domain); 26 $this->c_member_id = do_common_c_member_id4ktai_address('"' . $local . '"' . '@' . $domain); 34 27 } 35 28 }
Note: See TracChangeset
for help on using the changeset viewer.