What type of headers have to add in the mail function in
which file a attached?

Answer Posted / devendrarjadav

To attach a file we must add the following header
as "\nMIME-Version: 1.0\n Content-Type: multipart/mixed"

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Retrieve a Cookie Value?

572


Where is my php ini file?

563


What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?

637


Define soundex()?

517


Is php a strongly typed language?

578






how to track user logged out or not? when a user is idle?

538


What are the special characters you need to escape in single-quoted stings?

513


Are objects passed by value or by reference?

558


What is overriding in php?

620


How to check if a string contains a character or word in php?

547


Which php global variable is used for uploading a file?

512


What is the difference server side and browser side validation?

492


Is salary a ratio or interval?

560


Is echo a function in php?

525


What is lazy loading in php?

515