phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Sending email with attachments


From: Chris Weiss
Subject: Re: [Phpgroupware-users] Sending email with attachments
Date: Wed, 24 Sep 2003 09:57:58 +0000

I know it's some serious complex code, but I think looking into the email app's 
code
is your best bet.  Look in email/inc/class.bosend.inc.php and search for
$this->mail_out['num_attachments'] > 0.  Further down in the same function it 
even
has the code you'd need to put the mail into the sender's Sent folder, which 
would
just be a nice touch.


Don Graver (dgraver) (address@hidden) wrote:
>
>I would like to send an email with attachments via the class 'send'.
>More specifically, I would like for a user to be able to add files to a
>Calendar event, then when the notification email is sent to all
>participants, the files are attached.  I have no problem adding the new
>field to the calendar app, I am just unsure how to create all the
>necessary MIME headers and boundaries and use them in the send class.
>Has anyone else tried something similar?
>
>
>-- Don Graver
>
>
>_______________________________________________
>Phpgroupware-users mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]