hello,
I've made an newsletter mailing system which should sent newsletters to my website's members using php mail function. It gets the mail data from an html file, the html file is generated using MS word(save as html). The mail is sent in Japanese Language(Shift_Jis). The html file is HUGE! 150 kb each, there are 5 such html files,
the script gets email from database and sends data to the users.
Problem is when the cron is executed i'm getting complains of blank mails the subject is okay but the body is blank. I tested the same function using a for loop sending me 25 mails, all mails were fine but the next day when cron was executed i also recieved a blank mail.
i checked the message source in outlook express the last line is :
Content-Type: text/html; charset=shift_jis
which is of the header.
Every time it sends a mail, i use a function to read the html file and return the data, is this slowing down the script and causing problems?
The word generated html files have some headers of their own and i get an error saying "security settings may prohibit active x to run on this page , this page may not be displayed correctly" :
Whenever i test the same function it works fine but in actual execution blank mails are sent!!!
Please HELP ME!!!!