diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-10 13:45:31 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-10 13:45:31 +0100 |
commit | c809726558cc5364713e49c7404e43989203c4af (patch) | |
tree | 66abb98994bb93c902d9054e3043d147979ced3b /user_guide_src/source/libraries | |
parent | 2b21ee8dcf040d7c749e0010c46492d221d25552 (diff) |
Further changes related to PR #2807
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/email.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/user_guide_src/source/libraries/email.rst b/user_guide_src/source/libraries/email.rst index 274d88d46..8e3800306 100644 --- a/user_guide_src/source/libraries/email.rst +++ b/user_guide_src/source/libraries/email.rst @@ -269,13 +269,13 @@ parameter as mime-type:: $this->email->attach($buffer, 'attachment', 'report.pdf', 'application/pdf'); -$this->email->attach_cid() - -------------------------- +$this->email->attachment_cid() +------------------------------ - Returns CID which enables to embed an attachment to html. First parameter - must be attached file. +Sets and returns an attachment's Content-ID, which enables your to embed an inline +(picture) attachment into HTML. First parameter must be attached file. - :: +:: $filename = '/img/photo1.jpg'; $this->email->attach($filename); @@ -286,8 +286,8 @@ $this->email->attach_cid() $this->email->message('<img src='cid:". $cid ."' alt="photo1" />'); $this->email->send(); } - - CID for each Email have to be create again to be unique. + +CID for each Email have to be create again to be unique. $this->email->print_debugger() ------------------------------ |