Fwd: E-mail attachments

Muzaffer Tolga Ozses <[email protected]> Sun, 29 Dec 2013 22:50:31 +0200
Newsgroups gmane.comp.php.drupal.devel
Message-ID <CAMAQ3nKz+YRL=wZeMeway_pZaowT9eWVEFaSR6wVDxWqch-K2A@mail.gmail.com>
--bcaec53d5ee166066f04eeb27abf
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I keep developing my module, and inside it I am sending e-mail. I am also
trying to attach a file, to no avail. I have installed mimemail, I have
changed mime type in my code, I have dpm'd everything. dpm gives me correct
values, and the subject and body of the e-mail come through, but I couldn't
get file attachment to work at all. What else can I do?

Regards,

PS: You can see the code at
http://drupalcode.org/sandbox/Kartagis/1543120.git/blob/da47378:/pass2pdf.module#l69

--bcaec53d5ee166066f04eeb27abf
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:courier =
new,monospace">Hi,<br></div><div class=3D"gmail_quote"><div dir=3D"ltr"><di=
v style=3D"font-family:&#39;courier new&#39;,monospace"><br></div><div styl=
e=3D"font-family:&#39;courier new&#39;,monospace">

I keep developing my module, and inside it I am sending e-mail. I am also t=
rying to attach a file, to no avail. I have installed mimemail, I have chan=
ged mime type in my code, I have dpm&#39;d everything. dpm gives me correct=
 values, and the subject and body of the e-mail come through, but I couldn&=
#39;t get file attachment to work at all. What else can I do?</div>

<div style=3D"font-family:&#39;courier new&#39;,monospace"><br></div><div s=
tyle=3D"font-family:&#39;courier new&#39;,monospace">Regards,</div><div sty=
le=3D"font-family:&#39;courier new&#39;,monospace">
<br></div><div style=3D"font-family:&#39;courier new&#39;,monospace">PS: Yo=
u can see the code at=A0<a href=3D"http://drupalcode.org/sandbox/Kartagis/1=
543120.git/blob/da47378:/pass2pdf.module#l69" target=3D"_blank">http://drup=
alcode.org/sandbox/Kartagis/1543120.git/blob/da47378:/pass2pdf.module#l69</=
a></div>

</div>
</div><br></div>

--bcaec53d5ee166066f04eeb27abf--