Manuel Lemos - 2011-10-07 05:19:14 - In reply to message 1 from vijay anand
Just take a look at the examples of the MIME message package to send messages with attachments. Then change the class being used to smtp_message_class instead of email_message_class. You may need to add a few parameters to set some options to configure SMTP server access. The rest is the same.
Manuel Lemos - 2011-10-07 07:03:37 - In reply to message 3 from vijay anand
That may happen if you are sending an HTML message without an alternative text part. Look at the test_simple_html_mail_message.php example to learn how to send HTML messages with alternative text parts.
vijay anand - 2011-10-07 08:46:45 - In reply to message 4 from Manuel Lemos
i have one more query..
i need to attach the files uploaded by the users.,
the code says:
"Data"=>"This is just a plain text attachment file named attachment.txt",
i tried changing the filename with a file in the same folder., but only the filename changed not the datas inside the file..