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

What is the delimiter default in PHP?

615


How do you put a space in html?

518


Could we start a variable with number like $4name?

516


What are the two main string operators?

546


How many escape sequences are recognized in double-quoted strings?

543






What sized websites have you worked on in the past?

537


How do I debug php?

525


How to read one character from a file?

542


What is filter_var?

536


What is a php trait?

493


Which of the data type is compound datatype supported by PHP?

551


How can you upload a file using php?

553


Tell me what is the difference between get and post?

477


Name and explain five of the PHP error constants?

516


Explain do you use composer? If yes, what benefits have you found in it?

545