Jump to content

PHP mail is not working using Apache


atulkul

Recommended Posts

You need to either setup an SMTP server on the computer that has PHP installed on. Or point PHP to an existing (public) SMTP mail server, such as your ISPs email server (if they do not require authentication for emails to be sent).

You need to open up the php.ini and find the the following lines:
[code]; For Win32 only.
SMTP = localhost
smtp_port = 25[/code]
Change localhost to your ISPs SMTP mail servers addresss, eg: smtp.hostname.com
the smtp_port is fine.
Link to comment
Share on other sites

Ok, i will tell you my server configuration its Apache + PHP + Mysql and apache installed on port 80, site is running on apache , while IIS is installed with smtp server , but i want to know how to active SMTP server using Apache, plz resolve this issue
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.