btabay.blogg.se

Wamp server setup
Wamp server setup











$mail->Subject = "Testing PHPMailer with localhost" $mail->SingleTo = true // if you want to send a same email to multiple users. $mail->IsHTML(true) // if you are going to send HTML formatted emails or try these settings (worked on XAMPP and WAMP): zip file, extract “” and “” files to “C:\wamp\file in “$mail = new PHPMailer() Go to “Dynamic Extensions” section and copy-paste this line somewhere between extensions: Copy-paste the downloaded php_smtp.dll file in the “C:\wamp\bin\php\php5.2.6\ext\” folder.Although I have downloaded, scanned with antivirus (Avira) and used this file successfully, please scan the downloaded php_smtp.dll file with your preferred antivius and use it at your own risk.

wamp server setup

Please note that downloading DLL files from internet could be unsafe. Click this link to go to the download page of php_smtp.dll file.If “php_smtp” PHP extension is not available in your WAMP Server installation (mostly unavailable in WAMP 2.0c and later versions) then you can download the php_smtp.dll and configure php.ini as following:













Wamp server setup