Forum Moderators: coopster
You'll have to configure it and php correctly, but you can indeed send emails out from your home computer.
I've been introduced to the following files during the past two days - sendmail.ini, php.ini (Xampp has three of them!), Mercury Mails own program (C:\apachefriends\xampp\MercuryMail\mercury.exe), Xampps own web based send mail interface. I've set up a new account on outlook express and tried turning off firewall/antivirus to see if it made a difference.
From within Mecury Mails own program I can now send external mails - but not when calling mail() from within php (which is what I need). Documentation for setting up Mecury Mail seems non-existant! I've always taken the mail() function for granted up untill now :)
jatar_k,
What do I need to do in order to use my ISP's SMTP server so that I can use mail() in php? Does it involve changing settings in sendmail.ini and php.ini?
dhardisty,
I will try postcastserver if I can't get this to work - but a lot of people on their forums also seem to have issues with getting mail() to work.
Many thanks! Its working now for one of my email accounts.
I updated the following lines:
; For Win32 only.
SMTP = mail.FOO.net
; For Win32 only.
sendmail_from = FOO@BAR.co.uk
...and sending emails using mail() now works perfectly :)
I also tried it on another account which didn't work (though I can make do without it) - it had "My Server Requires Authentation" ticked for outgoing mail - would this be the reason it wouldn't work for this other account? If so would there be any way around this?
Many thanks everyone :)