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: Brian Johnson
Subject: RE: [Phpgroupware-users] Sending email with attachments
Date: Wed, 24 Sep 2003 14:05:49 +0000

how about posting a patch on the project page on savanah?



Don Graver (dgraver) (address@hidden) wrote:
>
>To answer my own question:
>
>Apparantely the msg function in the phpgwapi/inc/class.send.inc.php file
>accepts a mime 'boundary' variable, which can be used to separate the
>text of the message from the attachments.  So, what I have done is
>separate the attachments with a  mime boundary and the correct headers,
>then attach that to the end of the body message, and send the new
>message body along with the mime boundary to the send class.....and
>Wahoo!, it works.
>
>Thanks for the help.
>
>Ps. I am not using the email app other than to be able to send
>emails...no user has rights to that app so storing it to the Sent folder
>is not necessary.  However, the emails are not only sent to registered
>users, but to extra participants as well...something else I have added
>to the calendar.
>
>-- Don Graver
>
>
>-----Original Message-----
>From: Dave Hall [mailto:address@hidden
>Sent: Wednesday, September 24, 2003 12:11 PM
>To: address@hidden
>Subject: Re: [Phpgroupware-users] Sending email with attachments
>
>
>"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
>> newfield 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?
>>
>
>class.send.inc.php is a little broken atm.  It is on the to be fixed for
>16-final list :)
>
>I think what you want to do is a good idea, but could be problematic
>also.
>
>Are you planning on emailing the attachments to phpgw users only?  If
>you are the VFS is a better choice.  Just to include a link to the file
>in the VFS.
>
>I hope in head (which will become 18 one day) that we can support saving
>attachments in the VFS and also direct import of v/iCals into calendar
>from attachments.
>
>Just some ideas, sorry I don't have the answers.
>
>Cheers
>
>Dave
>
>
>_______________________________________________
>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]