467,173 Members | 1,394 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,173 developers. It's quick & easy.

Multiple attachment problem

I have a form that's giving visitors the option of either writing text
or an attachment, in two places.

My script is taking this and sending it by email, with attachments if
there are uploads from the form.

I've modified the generic scripts available through Google, but I'm
running into a problem. If I don't have a file to attach as #1, even if
there is a file to attach as #2, it ignores #2 and sends the email
without attachments.

Any ideas?
Jul 16 '05 #1
  • viewed: 3578
Share:
1 Reply
Hello,

On 07/19/2003 12:47 AM, Anon wrote:
I have a form that's giving visitors the option of either writing text
or an attachment, in two places.

My script is taking this and sending it by email, with attachments if
there are uploads from the form.

I've modified the generic scripts available through Google, but I'm
running into a problem. If I don't have a file to attach as #1, even if
there is a file to attach as #2, it ignores #2 and sends the email
without attachments.

Any ideas?


Try this class that lets you compose message with as many attachments as
you want, passing the attachment data either from an existing file or a
text string.

http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Brian Farnhill (MCP VB.NET) | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.