sending raw format in email |
|||
|---|---|---|---|
| Date: | 05/10/2007 | Severity: | Minor |
| Status: | Bogus | Reporter: | anciwasim |
| Version: | 1.5.3 | ||
| Keywords: | Libraries, Email Class | ||
Description
actully i use email class.i wrote this code for sending mail.
when i m sending normal email ,without attachment its working greate,but when i attach a small Gif file with email that attachment in not receiving in correct format its look like this..
Code Sample
function sendmail(){
$this->load->library('email');
$this->email->from('dnamdeo@systematixindia.com', 'wasim');
$this->email->to('sachin@systematixindia.com');
$this->email->cc('anci_wasim@rediffmail.com');
$this->email->subject('Wasim test email class');
$this->email->message('Testing the email when you got this mail please ping me..');
$this->email->attach('c:\photo1.GIF');
$this->email->send();
echo $this->email->print_debugger();
}
Expected Result
Testing the email when you got this mail please ping me..
Attachment photo1.gif.
Actual Result
<dnamdeo@systematixindia.com>
Testing the email when you got this mail please ping me..
—B_ATC_46430aa75ea52
Content-type: image/gif; name=“photo1.GIF”
Content-Disposition: attachment;
Content-Transfer-Encoding: base64
R0lGODlhOgF+AfeVAAAAAP////39/fMAAL0ECOYNEssMDfIVFucXGakRE8oWGvUeIfdKS65aW/qK
jP3NzrMECtULENkRGrgVGflscfuztfqdoskJGLojL9xATuFWYOXNz7wKHqoJG8kSJ50TIdglObgR
KfNPbfMwW/xemf9kxP+f2//j9f/0/P7//wEHAQQ4AwhMBjSRMhxtGBdVFRZmAS9bJPf79jl0J1R8
R56wlmaeSzQ2M+706ytzBT6GDYOsaLPGpylVClKSJJi9fubt4drn0CQ2B0trC8/QvZyWD+/u49Wn
Cf789d/Xw/avDNuoM/u/Pfz15fexKvfHYvXcp/npyM+NFK54E8WSOdmqV/TNg82zhPCXDOicJObd
0912CkEgCMu2rXAuFvU6AO/k4f3y8fMPAJ46NfIAAPEAAPQCAvMCAvIEBL4EA7IDA/MFBb0IBLMI
BPMGBvMICNkHB8kHB6UHBvEKCuYJCbwICLMICPoMDJEHB28HBvQQEPMSEvQWFvQbG/QnJ/UtLfYy
MvU3N/Y/P/dVVfdiYvh6etZzc/qWltOPj/3Y2P7k5P739/77+/7+/vX19e3t7eXl5d3d3dfX19HR
0cjIyP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAJUALAAAAAA6AX4B
Comment on Bug Report
| Posted by: Derek Jones on 12 July 2007 5:45am | |
|
|
What MUA are you using, anciwasim? It should be reading the MIME boundaries properly and not displaying that in the message unless you are viewing the raw source of the email. |
