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

What is the tags in PHP is not a valid way to begin and end a PHP code block?

0 Answers  


Tell me what does the php error 'parse error in php - unexpected t_variable at line x' means?

0 Answers  


what is the use of include_once in php?

0 Answers  


What are escaping characters?

0 Answers  


How to download a php script directly in your script page?

3 Answers   A1 Technology, Zmanda,


How is a constant defined in a PHP script?

0 Answers  


What is polymorphism in oop php?

0 Answers  


What is use of count() function in php?

0 Answers  


What are the limitations or drawbacks of PHP ?

4 Answers   iDream,


What is meant by urlencode and urldecode?

0 Answers  


What is "print" in php?

0 Answers  


What is the function of string in c?

0 Answers  


Categories