E-mail PHP+Codeigniter

Asked

Viewed 238 times

0

People, I made several examples, being them of books or the internet and all return the following message when I run the function to send the email:

Failed to connect to mailserver at "localhost" port 25, Verify your "SMTP" and "smtp_port" Setting in php.ini or use ini_set()

Could you please explain what this SMTP is? And what I should do to make it work?

Thank you.

1 answer

0


Simple Mail Transfer Protocol (abbreviated SMTP. stands for "Simple Mail Transfer Protocol") is the standard protocol for sending emails over the Internet.

You can post excerpt from your code so we can better analyze your problem?

But answer a few questions: Do you want to email on your localhost? or already have a configured web server ?

  • Hi, I got it, I appreciate your help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.