ā–¼
Streaming live at 10am (PST)

Form to point at my own mailserver


#1

I exported my website as I got my own host and domain and would like the contact form to point at my own mail server. How do achieve this?

Thanks
Mathias


#2

https://help.webflow.com/article/how-to-integrate-webflow-with-zapier


#3

Hi @moffegreven, thanks for the question. @samliew is correct, zapier integration is possible, although that does require a site hosting subscription.

Alternatively, there are a couple of options:

1) point the form at your own mail script handler. Your hosting provider should be able to provide you with the url to the mail script. That url is put into the action field with the method of the form set to post.

or

2) Point the forms to a third party mailing service, like Mailchimp or other: https://help.webflow.com/article/how-to-integrate-webflow-with-mailchimp

I hope this helps!


#4

Hi Dave,

Hope you can help as Iā€™m a bit lost at the moment.

I spoke to my host and showed them the email below you sent to requesting for url to the mail script.

The respond I got from my host today:

"Hi Mathias,

Based on our findings, we have identified that this is an application-related issue. To be able to connect your contact form to Vodien server, you will need to create a PHP mail script first which will be uploaded into your Vodien cPanel inside the root folder "public_html".

A PHP mail script sample is provided in the link below:

https://www.vodien.com/knowledge-base/articles/sending-email-via-php https://www.vodien.com/knowledge-base/articles/sending-email-via-php

Aside from creating the PHP mail script, you will also need to create a database and connect it to the script to make it work. I am afraid that this application type support request is not traditionally covered under our web hosting support. Our team may not be able to offer a guaranteed resolution for such application issues.

We highly advise you to seek advice from a web developer for a timely and accurate resolution to this issue.

In addition to the reply earlier, after creating and uploading the PHP mail script into your Vodien cPanel, the path or URL of the script will look something like http://pmleng.se/mailscript.php http://pmleng.se/mailscript.php provided that the filename of the script is mailscript.php. This URL (http://pmleng.se/mailscript.php http://pmleng.se/mailscript.php) will then be added to your Webflow form settings as instructed by Webflow support team.ā€

Could you please advice best way to proceed?

Best regards
Mathias


#5

Hi Dave,

Hope you can help as Iā€™m a bit lost at the moment.

I spoke to my host and showed them the email below you sent to requesting for url to the mail script.

The respond I got from my host today:

"Hi Mathias,

Based on our findings, we have identified that this is an application-related issue. To be able to connect your contact form to Vodien server, you will need to create a PHP mail script first which will be uploaded into your Vodien cPanel inside the root folder "public_html".

A PHP mail script sample is provided in the link below:

https://www.vodien.com/knowledge-base/articles/sending-email-via-php https://www.vodien.com/knowledge-base/articles/sending-email-via-php

Aside from creating the PHP mail script, you will also need to create a database and connect it to the script to make it work. I am afraid that this application type support request is not traditionally covered under our web hosting support. Our team may not be able to offer a guaranteed resolution for such application issues.

We highly advise you to seek advice from a web developer for a timely and accurate resolution to this issue.

In addition to the reply earlier, after creating and uploading the PHP mail script into your Vodien cPanel, the path or URL of the script will look something like http://pmleng.se/mailscript.php http://pmleng.se/mailscript.php provided that the filename of the script is mailscript.php. This URL (http://pmleng.se/mailscript.php http://pmleng.se/mailscript.php) will then be added to your Webflow form settings as instructed by Webflow support team.ā€

Could you please advice best way to proceed?

Best regards
Mathias


#6

Hi @moffegreven, thanks for the info.

Webflow allows to change the Action field of a form, to point to an external script url, or to some third party mail service, like mailchimp.

In the Action field in webflow, set that to: http://pmleng.se/mailscript.php

Set the Method in form settings to POST

When designing the Form input fields, give each form input a unique Name. The Name field will be the name of the Post variable that can be accessed in PHP.

There are many script examples on the web that show how to save simple form data to a mySQL server.

When the PHP script file is run, it can read the form fields as Post variables and you could:

  1. save the data to mySQL (as an example) and
  2. send an email notification with the form data using something like php mail function.

The Form that the site visitor fills out, should be on the same server where the script is hosted, and using same domain name.

You will probably need to get some developer help with the script part.

Making the form settings in Webflow is quick and easy, but we do not support external scripts etc.

My suggestion is to dive in and start making it. It is ok to make a mistake and change things quickly.

I hope this helps!


Webflow froms to work outside webflow...?
Message form configuration
Contact Form Submit action
Sending the Form Data Outside of Webflow
Prevent Webflow storing form data
#7

This topic was automatically closed after 60 days. New replies are no longer allowed.