email - Need Clarification in sending mail to the particular mail address in PHP -


i doing 1 project. in project want send mail customers in php. presently using sendmailer.php package sent mail. using package sending mail through gmail account(i.e, smtp protocol).it takes 20 sec-1 min.

here doubt is... possible send mails customers out using smtp protocol..

i know there function called mail().. doubt is..!! send mail customers..?

please clarify doubt.. stuck here..!!

no, it's not possible without smtp.

you have define own smtp server settings host provides, in php ini file example, when use normal mail() function.

you can change settings this:

ini_set("smtp","smtp.example.com" );  ini_set('sendmail_from', 'user@example.com');  

Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -