How can i send a HTML file to mail account.

Answer Posted / sheetal deshpande

to send html file to mail account you have to change
content type of mail funciton header to 'Content-type:
text/html; charset=iso-8859-1' and then in body you can
write html code and submit to mail.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between htmlentities() and htmlspecialchars()?

530


How would you declare a function that receives one parameter name hello?

510


Which cryptographic functions in php returns the longest hash value?

563


Which php global variable is used for uploading a file?

500


Why php is also called as scripting language?

539






What is the use of trim function in php?

514


How to Pass JSON Data in a URL using CURL in PHP?

553


Can we run php in apache tomcat?

508


What is the difference between require_once and require in php?

547


How to remove an empty directory?

567


What is implode() in php?

600


Why php is widely used?

533


Tell me how can I display text with a php script?

509


What is faster?

547


What is a controller in programming?

487