PHP mail
Posted: Mon Feb 22, 2010 6:40 pm
Hi,
I am having an issue sending mail with attachments. I have this piece of code that will go through the database and look for email that has not been sent. It will then query the database for from/to email, body, subject, and if it has any attachment. This piece of code will be used on both linux and windows server. It works fine on linux environment but does not work too well on window 2003 server. On Window server, it works fine if the email does not have an attachment but if it does, it'll send an email with just the subject. The body is empty and there is not attachment when it suppose to. I was wondering if anyone ever had this problem if there is a solution for it.
Thomas
I am having an issue sending mail with attachments. I have this piece of code that will go through the database and look for email that has not been sent. It will then query the database for from/to email, body, subject, and if it has any attachment. This piece of code will be used on both linux and windows server. It works fine on linux environment but does not work too well on window 2003 server. On Window server, it works fine if the email does not have an attachment but if it does, it'll send an email with just the subject. The body is empty and there is not attachment when it suppose to. I was wondering if anyone ever had this problem if there is a solution for it.
Thomas