How can I configure this to send email from a home PC or test server?
Hi I am building a test site at home using a MAMP setup – so the domain is localhost for now. The site will be deployed on a “normal” host of course. When I try to send mail from the form OR send test email via the settings, I get nothing. Will I need to wait until deployment to test this?
You should be able to do this:
If this is a home or office developer server, you may be able to set the SMTP server to the server of your internet provider. Example: for Comcast DSL, you could use SMTP: smtp.comcast.net
Or set to use gmail:
Set the contact form to send to your gmail address and use gmail to receive your contact form mail.
Optionally you can set gmail to forward the mail to another address you may have.
Yes. The optional SMTP mail sending feature was added to the PHP Contact Form Version 188.8.131.52
This setting reconfigures the mail() function to use SMTP instead. Enable if you have to use SMTP protocol to send email. Most users do not have to enable this setting, but sometimes it becomes necessary.
Find this setting on the contact form edit page: “Send E-mail function:”, make sure it is set to “phpmailer”
see image for example settings for sending SMTP with gmail:
Get a free gmail account. On the contact form settings page, find this setting: “Send E-mail function:”, make sure it is set to “WordPress”.
Install the plugin called WP Mail SMTP, then set it to use gmail SMTP for mail.
Set these settings for WP Mail SMTP:
SMTP Host: smtp.gmail.com
SMTP Port: 465
Username: your full gmail address
Password: your mail password.
Send us a Donation: