how to send mail in php but mail should be send in inbox
not in spam.....:(

Answer Posted / venky

In php there is a predefined method called mail(); to send a
mails.
parameters will be mail($to,$subject,$body,"from:$from or
cc:$cc");

to send into inbox or spam we cant do anything for that that
is the receiver side settings in their mail setting..

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do I need to install php after xampp?

705


What is move_uploaded_file in php?

736


Does apache use php?

701


What is the difference between get and post in php?

733


How to access a global variable inside a function?

702


How do I install php and apache on windows 10?

735


How to create a web form?

736


Explain NULL?

762


Which library is used in php to do various types of image work?

723


Tell me how can we change the maximum size of the files to be uploaded?

744


How do I start a php session?

707


Give the case where we can use get and we can use post methods?

749


What new features php7 has in store for us?

739


Explain how can we execute a php script using command line?

693


How to get the value of current session id?

698