smtp_server= smtp_port=587 error_logfile=error.log debug_logfile=debug.log auth_password=Your-Gmail-Password (optional) Search for by pressing ctrl + f.įind and change the following SMTP configuration settings. Open the sendmail.ini file located in “c:\wamp64\sendmail\sendmail.ini”. To send a mail from localhost using Gmail, configure WAMP server by following these steps.ĭownload sendmail and extract all the files to C:\wamp64\sendmail folder.
If you are seeing issues, read Troubleshooting Common Web Deploy Problems.In this tutorial, we are going to see how to send mail from localhost in PHP using WAMP server. If publishing to this server succeeds, we know that Web Deploy is set up correctly.
If the application does not render correctly in the browser, follow the troubleshooting steps given above in "Testing Administrator Deployment from Visual Studio 2010"
The Output Windows shows that Web Deploy is indeed deploying over the Web Management Service: Filling in just the server name in this field is equivalent to filling in which instructs Web Deploy to deploy using the Web Management Service, which supports non-administrator deployments.Ĭlick Publish. Note that the Service URL field is slightly different for non-administrator deployments. Start Visual Studio 2010 and load up the Contoso University solution Testing Non-Administrator Deployment from Visual Studio 2010 Check the two dependencies and re-publish: Since they can be bin-deployed by Visual Studio 2010, we right-click the WAP and click "Add Deployable Dependencies". In this case, we need ASP.NET MVC and SQL Server Compact on the remote.
Notice that Visual Studio 2010 is indeed deploying your application over the Remote Agent Service: The Output window will show the deployment as it proceeds.