Simon
Simon

Reputation: 23149

problems with sending mail

I use local server, and there are some problems with sending mail!

I think i must change something in my php.ini file. can somebody help me?

The whole problem in this!!! It doesn't return any error! That is why,I'm not able to understand where i wrong?.

Upvotes: 0

Views: 168

Answers (3)

Giovanni Di Milia
Giovanni Di Milia

Reputation: 14051

Check if sendmail can actually send emails from your local server

if not probably it is a problem of firewall.

if sendmail works, then the problems is with php, but in my experience the problem is always with the server.

Upvotes: 1

Konrad Neuwirth
Konrad Neuwirth

Reputation: 898

The problems sending mail fom PHP can be various and many. Maybe you could try to give us a better description of how sending mail fails (e.g. do you get an error response from calling the mail function within php; is mail not delivered; are you even running a local mailserver or some equivalent library that enables sending off email from the machine). Then, it's easier to solve a potential problem at hand.

Upvotes: 1

VolkerK
VolkerK

Reputation: 96189

Vague question, vague answer: Use SwiftMailer.

You can find the description of the ini parameters directly influencing php's mail() function at http://php.net/manual/en/mail.configuration.php

Upvotes: 2

Related Questions