What type of headers have to add in the mail function in
which file a attached?
Answers were Sorted based on User's Feedback
Answer / ansar
$headers = "Content-type disposition :attachmet
filename = 'filename.txt' "
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / 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 |
How do I check environment variables?
What are the advantages of oops in php?
How to delete an element from an array?
What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?
How to use the COM components in PHP?
How to remove an empty directory?
How could I install codeignitor ?
What is $_ get in php?
Why do we use session?
How can I prevent sql-injection in php?
How many types of functions are there in php?
How many escape sequences are recognized in single-quoted strings?