Apart from mail() function to send emails,is there any other
functions in PHP to send emails?

Answers were Sorted based on User's Feedback



Apart from mail() function to send emails,is there any other functions in PHP to send emails?..

Answer / m sujata

except mail() function you can use imap_mail() function .
Syntax is as follows :
bool imap_mail ( string $to , string $subject , string
$message [, string $additional_headers= NULL [, string $cc=
NULL [, string $bcc= NULL [, string $rpath= NULL ]]]] )

Is This Answer Correct ?    24 Yes 0 No

Apart from mail() function to send emails,is there any other functions in PHP to send emails?..

Answer / sathya

Except Mail() function you can use this mb_send_mail()
function, syntax is as follows

bool mb_send_mail ( string $to , string $subject , string
$message [, string $additional_headers= NULL [, string
$additional_parameter= NULL ]] )

Is This Answer Correct ?    2 Yes 0 No

Apart from mail() function to send emails,is there any other functions in PHP to send emails?..

Answer / aditi

Not a function but PHPMailer can be used..

Is This Answer Correct ?    1 Yes 0 No

Apart from mail() function to send emails,is there any other functions in PHP to send emails?..

Answer / pankaj patil

using html tag <mailto> you can send a mail.

Is This Answer Correct ?    10 Yes 23 No

Post New Answer

More PHP Interview Questions

Is php used for frontend or backend?

0 Answers  


How can we automatically escape incoming data?

0 Answers  


Does php support polymorphism?

0 Answers  


What is the default time in seconds for which session data is considered valid?

0 Answers  


What is the use of mysql_real_escape_string in php?

0 Answers  






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

0 Answers  


Where php basically used?

0 Answers  


How does session work in php?

0 Answers  


Which php framework is fastest?

0 Answers  


How long is session timeout?

0 Answers  


What is the use of array_count_values() in php?

0 Answers  


Tell us how can we display the output directly to the browser?

0 Answers  


Categories