PDA

View Full Version : send email


esthera
08-18-2006, 12:45 PM
$success = mail($recipient,$subject,$msg,$extraHeaders);

the above code is returning a 1 but I don't get the email (and i'm the recipient)
how can i debug?

Bhagya
08-18-2006, 12:51 PM
:thumbsup: :thumbsup: Hi Friend.

Do U Configure the SMTP Server in your php runing server ? or u should configure the mail server. then u can access the email or u can see ur mail through the outlook.

first check SMTP server there or not .

cheers

Bhagya

esthera
08-18-2006, 12:53 PM
the same code is working on another page on the site??

kehers
08-18-2006, 01:05 PM
Probably posting along the content of the variables u are using in the mail function may also help.

d11wtq
08-20-2006, 03:39 AM
Some servers are picky about the headers you use. Use a tested mailing library like Swift Mailer since it uses an email structure like any major mail client would build. The other possibility is that your IP is in a Blacklist or is being rejected through SPF records.