Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

For sending email I normaly use Windows 7 Thunderbird with configuring secure SMTP via my ISP (i.e. login and password for SMTP server). Connection security: none, Password transmited insecurely. Mails are send OK.

I tried configure XAMPP php.ini

[mail function]
SMTP=*my_isp_smtp_server*
smtp_port=25
sendmail_from=*my_email_address*
sendmail_path="\"c:\xampp\sendmail\sendmail.exe\" -t"
mail.add_x_header = Off

and sendmail.ini

smtp_server=*smtp_server.my.isp*
smtp_port=25
error_logfile=error.log
debug_logfile=debug.log
auth_username=*login_to_my_isp_smtp_server*
auth_password=*password_to_my_isp_smtp_server*
force_sender=*my_email_address*

In my php script I use standard php function:

mail($recipient, $subject, $message, $headers);

I get no error message, but mail is not delivered. Please could you help me anyone?

share|improve this question
 
Have a look here, haven't tried it myself yet, but the settings of this CodeIgniter question/answer might help you out. Comments there say that localhost will only work with Gmail. For all others you'll need live hosting (so no localhost). –  Nukeface Nov 11 '13 at 14:25
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.