There is only one file to configure, it is php.ini. You have to apply an SMTP Server in php.ini. Edit php.ini and look for "SMTP", there should be a line like:
- Code: Select all
SMTP=localhost
and also a line like
- Code: Select all
smtp_port=25
If there are already such lines, you are already done. If there is a semicolon in front of the lines, remove the semicolons and then restart Apache. If there are non such lines, insert them (but they should be there). BUT: these are default values for any SMTP Server, there is no documentation in Papercut, if it uses this SMTP Server localhost and Port 25. Maybe it does so, but you should know that exactly, as you may also use Papercut without Xampp, you can also simply use your Email client (Thunderbird?, Outlook?) and configure an account to use this SMTP server.
The php.ini file from Xampp is for PHP only and for the PHP mail()-function only. That is the only way of using Papercut from Xampp. There are many tools (like WordPress), which do not use PHP mail()-function, they have their own mail functionality. In that case you have to configure these tools seperately to use localhost and Port 25 for Emails. This is NOT part of Xampp, this is usually an entry in the Admin Panel. It depends on the tool.