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

Answers were Sorted based on User's Feedback



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

Answer / ansar

$headers = "Content-type disposition :attachmet
filename = 'filename.txt' "

Is This Answer Correct ?    7 Yes 1 No

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

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

Post New Answer

More PHP Interview Questions

How do I run a php script in windows?

0 Answers  


Why do we show php code in browser?

0 Answers  


Write a program to display a table of any given number?

0 Answers  


When to use self over $this?

0 Answers  


How to execute a function in php?

0 Answers  






How to create an empty array in php?

0 Answers  


How do I stop php artisan serve in windows?

0 Answers  


How can we encrypt the password using php?

0 Answers  


What is binary safe string?

0 Answers  


What are the uses of explode() function?

0 Answers  


What is difference between php and wordpress?

0 Answers  


Where to put php files in apache server?

0 Answers  


Categories