i ve successfully tested the MIME class and send emails with html | attachment.
and i also successfully tested the SMTP class and send plain text emails.,
but i want to send a html | attachment mail using SMTP class.,
i searched through the forum and i found only the link tht says "use it in conjuction" with MIME., but i exactly dont knw how to do tht.,
bcoz the SMTP class using
and to the send function is
and MIME class using
and the send function is
so i dont know exactly how to integrate these two..
kindly help me..
thanks in advance..
|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.|
|2011-10-07 06:04:16 - In reply to message 2 from Manuel Lemos|
|Hi thanks for ur reply..|
it works well
but it goes to spam.,
In my windows live mail when i checked for the properties the spam level is high when i send it using this method
X-Spam-Status: Yes, score=8.2 required=7.0
but when i tried plain text it was quite low and not a spam
X-Spam-Status: No, score=6.2 required=7.0
|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.|
|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..
so how can i do this attachment ..
once again thank u..
|2011-10-07 09:39:12 - In reply to message 5 from vijay anand|
i found the answer by myself.,
just by referring to the test_attachment_message.php..
thank u for the wonderful class files..