{"id":965,"date":"2011-09-02T15:38:54","date_gmt":"2011-09-02T15:38:54","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/09\/02\/creating-a-contact-form-with-formmail\/"},"modified":"2026-04-23T17:44:38","modified_gmt":"2026-04-23T21:44:38","slug":"creating-a-contact-form-with-formmail","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/","title":{"rendered":"Creating a Contact Form with FormMail"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail-1024x538.png\" alt=\"Creating a Contact Form with FormMail Header Image\" class=\"wp-image-131873\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>You want visitors to reach you through your website without exposing your email address. A FormMail contact form routes submissions from your HTML form through a Perl script hosted in your account\u2019s <code>cgi-bin<\/code> directory, then delivers them directly to your inbox. By the end of this guide, you will have FormMail installed, configured, and connected to a working HTML form.<\/p>\n\n\n\n<p class=\"alert alert-warning\"><strong>Important:<\/strong> FormMail is a long-standing Perl script and remains supported on InMotion Hosting shared plans, but it is not the only way to build a contact form today. If you would rather use a WordPress plugin or another approach, browse the <a href=\"https:\/\/www.inmotionhosting.com\/support\/\">Support Center<\/a> for current contact-form options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An active InMotion Hosting Shared, VPS, or Dedicated account. CGI and Perl execute by default on shared hosting, so no additional activation step is required.<\/li>\n\n\n\n<li>Access to cPanel File Manager or Secure File Transfer Protocol (SFTP).<\/li>\n\n\n\n<li>A text editor that saves files with Unix line endings (LF, not CRLF). Saving the Perl script with Windows line endings is a common cause of 500 errors when the script runs.<\/li>\n\n\n\n<li>An email address associated with your hosting account that will receive form submissions.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Download the FormMail Script<\/h2>\n\n\n\n<p>The NMS FormMail script is the version you want. It is a drop-in replacement for the original FormMail and is maintained on SourceForge. Download the \u201ccompat\u201d release, the recommended package for most users, from <a href=\"https:\/\/www.scriptarchive.com\/nms.html\">Matt\u2019s Script Archive<\/a> or the <a href=\"https:\/\/nms-cgi.sourceforge.net\/\">NMS project on SourceForge<\/a>. The compat release supports older form configurations when migrating an existing site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Upload the Script to cgi-bin<\/h2>\n\n\n\n<p>The <code>cgi-bin<\/code> directory lives inside <code>public_html<\/code> on InMotion shared hosting and is the location on your server where executable scripts like FormMail run. Your web server is configured to run scripts placed there, so uploading <code>FormMail.pl<\/code> to any other folder will prevent it from executing.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Unzip the downloaded archive on your local computer.<\/li>\n\n\n\n<li>Log in to cPanel. See <a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">How to Log in to cPanel<\/a> if you need help.<\/li>\n\n\n\n<li>In the <strong>Files<\/strong> section, click <strong>File Manager<\/strong>.<\/li>\n\n\n\n<li>Navigate to the <code>cgi-bin<\/code> folder inside <code>public_html<\/code>.<\/li>\n\n\n\n<li>Upload <code>FormMail.pl<\/code> to that folder.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Configure the Script<\/h2>\n\n\n\n<p>Two variables control which domains and email addresses the script will accept. Incorrectly setting them is the most common reason FormMail rejects submissions, so read both edits before saving.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Open <code>FormMail.pl<\/code> in a text editor.<\/li>\n\n\n\n<li>Search for <code>@referers<\/code>. In the compat release this sits around line 47. This variable tells the script which domains are allowed to submit the form. Replace the placeholder contents with your domain in two formats, one without \u201cwww\u201d and one with \u201cwww\u201d, separated by a space. Remove \u201clocalhost\u201d if it appears.<\/li>\n\n\n\n<li>Search for <code>@allow_mail_to<\/code>. This variable lists the email addresses that may receive submissions. Replace any placeholder value with the address where you want form emails delivered. Remove \u201clocalhost\u201d if it appears.<\/li>\n\n\n\n<li>Save the file, making sure your editor uses Unix line endings.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Set the File Permission<\/h2>\n\n\n\n<p>The web server needs execute permission on <code>FormMail.pl<\/code>. Permission 755 gives the owner full access and gives the server read and execute access without opening the file to all users.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>In File Manager, right-click <code>FormMail.pl<\/code> and select <strong>Change Permissions<\/strong>.<\/li>\n\n\n\n<li>Set the permission value to <strong>755<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Change Permissions<\/strong> to save.<\/li>\n<\/ol>\n\n\n\n<p class=\"alert alert-danger\"><strong>Warning:<\/strong> Do not set permissions to 777. That gives every user on the server write access to your script, which is a security risk.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Add the Form Action to Your HTML Page<\/h2>\n\n\n\n<p>The <code>action<\/code> attribute in your HTML <code>form<\/code> tag tells the browser where to send the form data when a visitor clicks Submit. For a FormMail contact form, the action URL must point to the <code>FormMail.pl<\/code> script you uploaded to <code>cgi-bin<\/code>. If the path does not match where the script is installed, the form will return an error instead of sending an email.<\/p>\n\n\n\n<p>Add or update the opening <code>&lt;form&gt;<\/code> tag in your HTML page to match this pattern, replacing <code>&lt;your-domain&gt;<\/code> with your actual domain name:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;form action=\"https:\/\/&lt;your-domain&gt;\/cgi-bin\/FormMail.pl\" method=\"POST\"&gt;<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #808080\">&lt;<\/span><span style=\"color: #569CD6\">form<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">action<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"https:\/\/<\/span><span style=\"color: #F44747\">&lt;<\/span><span style=\"color: #CE9178\">your-domain&gt;\/cgi-bin\/FormMail.pl\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">method<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"POST\"<\/span><span style=\"color: #808080\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Replace <code>&lt;your-domain&gt;<\/code> with your actual domain name (for example, <code>example.com<\/code>). On InMotion shared hosting, Apache serves the <code>cgi-bin<\/code> folder at the <code>\/cgi-bin\/<\/code> URL path, so the public URL always takes this form regardless of the folder\u2019s location on disk.<\/p>\n\n\n\n<p class=\"alert alert-info\"><strong>Note:<\/strong> The <code>method=\"POST\"<\/code> attribute sends form data in the request body rather than in the URL. FormMail requires POST. Using <code>method=\"GET\"<\/code> will cause the submission to fail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Add the Required Hidden Fields<\/h2>\n\n\n\n<p>FormMail reads hidden input fields to determine where to send the email, what subject line to use, and where to redirect the visitor after submission. Place these fields inside the <code>&lt;form&gt;<\/code> tag you set up in Step 5.<\/p>\n\n\n\n<p><strong>Recipient (required).<\/strong> This tells FormMail which address to send the submission to. The address must appear in the <code>@allow_mail_to<\/code> list you configured in Step 3.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;input type=\"hidden\" name=\"recipient\" value=\"you@&lt;your-domain&gt;\" \/&gt;<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #808080\">&lt;<\/span><span style=\"color: #569CD6\">input<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">type<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"hidden\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">name<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"recipient\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">value<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"you@<\/span><span style=\"color: #F44747\">&lt;<\/span><span style=\"color: #CE9178\">your-domain&gt;\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #808080\">\/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Replace <code>you@&lt;your-domain&gt;<\/code> with the email address you added to <code>@allow_mail_to<\/code>.<\/p>\n\n\n\n<p><strong>Subject (optional).<\/strong> This sets the subject line of every email FormMail sends.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;input type=\"hidden\" name=\"subject\" value=\"Message from the contact form\" \/&gt;<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #808080\">&lt;<\/span><span style=\"color: #569CD6\">input<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">type<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"hidden\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">name<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"subject\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">value<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"Message from the contact form\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #808080\">\/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><strong>Redirect (optional).<\/strong> This sends the visitor to a thank-you page after they submit. If you omit this field, FormMail displays its own generic confirmation page.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;input type=\"hidden\" name=\"redirect\" value=\"https:\/\/&lt;your-domain&gt;\/thank-you.html\" \/&gt;<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #808080\">&lt;<\/span><span style=\"color: #569CD6\">input<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">type<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"hidden\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">name<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"redirect\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">value<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">\"https:\/\/<\/span><span style=\"color: #F44747\">&lt;<\/span><span style=\"color: #CE9178\">your-domain&gt;\/thank-you.html\"<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #808080\">\/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Replace <code>&lt;your-domain&gt;\/thank-you.html<\/code> with the path to your actual thank-you page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring SMTP on Shared Hosting<\/h2>\n\n\n\n<p>On InMotion shared hosting, the server routes outbound mail through a restricted sendmail path to prevent spam. If your form submissions are not arriving, switching FormMail to use SMTP directly often resolves the issue. The NMS FormMail script supports an SMTP relay out of the box through the <code>$mailprog<\/code> variable.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <code>FormMail.pl<\/code> in a text editor.<\/li>\n\n\n\n<li>Find this line:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>$mailprog = '\/usr\/lib\/sendmail -oi -t';<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #9CDCFE\">$mailprog<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #CE9178\">'\/usr\/lib\/sendmail -oi -t'<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Replace it with the line below, substituting <code>&lt;your-mail-server&gt;<\/code> with your actual outgoing mail server hostname:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>$mailprog = 'SMTP:&lt;your-mail-server&gt;';<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #9CDCFE\">$mailprog<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #CE9178\">'SMTP:&lt;your-mail-server&gt;'<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To find your outgoing mail server hostname, see <a href=\"\/support\/email\/how-to-find-email-settings\/\">Finding your Email Settings in cPanel or Webmail<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Symptom: 500 Internal Server Error when the form is submitted<\/h3>\n\n\n\n<p>This error almost always means one of two things: the file permissions on <code>FormMail.pl<\/code> are not set to 755, or the file was saved with Windows line endings (CRLF) instead of Unix line endings (LF). Open the file in a text editor that can convert line endings, save it again with Unix line endings, re-upload it, and confirm the permission is 755.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Symptom: Form submits without error but no email arrives<\/h3>\n\n\n\n<p>Check that the email address in the <code>recipient<\/code> hidden field exactly matches an address in the <code>@allow_mail_to<\/code> array inside <code>FormMail.pl<\/code>. A mismatch causes FormMail to silently drop the submission. Also check your spam or junk folder, because server-side mail can be filtered aggressively. If the address is correct and the email is not in the spam folder, try switching to SMTP as described in the Configuring SMTP section above.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Symptom: Form action returns a \u201cnot found\u201d or 404 error<\/h3>\n\n\n\n<p>The URL in the <code>action<\/code> attribute does not match the location of <code>FormMail.pl<\/code> on your server. Confirm the script is in the <code>cgi-bin<\/code> folder (Step 2) and that the URL path in your form tag matches exactly, including capitalization. Filenames on InMotion\u2019s Linux servers are case-sensitive, so <code>FormMail.pl<\/code> and <code>formmail.pl<\/code> are different files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Your FormMail contact form is now installed, configured, and connected to your HTML page. Visitors can fill in the form, and their submissions will arrive in the inbox you specified. To test the form before launching, submit it yourself and confirm you receive the email. If you want to expand the form with additional fields, see <a href=\"\/support\/website\/how-contact-forms-work\/\">How Contact Forms Work<\/a> for a deeper look at how HTML form data is structured and processed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You want visitors to reach you through your website without exposing your email address. A FormMail contact form routes submissions from your HTML form through a Perl script hosted in your account&#8217;s cgi-bin directory, then delivers them directly to your inbox. By the end of this guide, you will have FormMail installed, configured, and connected<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57032,"featured_media":131873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-965","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a Contact Form with FormMail | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Set up a FormMail contact form on your InMotion Hosting account. Download, configure, and connect FormMail to your HTML form in cgi-bin.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Contact Form with FormMail | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Set up a FormMail contact form on your InMotion Hosting account. Download, configure, and connect FormMail to your HTML form in cgi-bin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-09-02T15:38:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-23T21:44:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Derrell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Derrell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\"},\"author\":{\"name\":\"Derrell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7\"},\"headline\":\"Creating a Contact Form with FormMail\",\"datePublished\":\"2011-09-02T15:38:54+00:00\",\"dateModified\":\"2026-04-23T21:44:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\"},\"wordCount\":1178,\"commentCount\":69,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\",\"name\":\"Creating a Contact Form with FormMail | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png\",\"datePublished\":\"2011-09-02T15:38:54+00:00\",\"dateModified\":\"2026-04-23T21:44:38+00:00\",\"description\":\"Set up a FormMail contact form on your InMotion Hosting account. Download, configure, and connect FormMail to your HTML form in cgi-bin.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png\",\"width\":1200,\"height\":630,\"caption\":\"Creating a Contact Form with FormMail\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Contact Form with FormMail\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7\",\"name\":\"Derrell\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/derrell-willis\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/derrellw\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Contact Form with FormMail | InMotion Hosting","description":"Set up a FormMail contact form on your InMotion Hosting account. Download, configure, and connect FormMail to your HTML form in cgi-bin.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/","og_locale":"en_US","og_type":"article","og_title":"Creating a Contact Form with FormMail | InMotion Hosting","og_description":"Set up a FormMail contact form on your InMotion Hosting account. Download, configure, and connect FormMail to your HTML form in cgi-bin.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2011-09-02T15:38:54+00:00","article_modified_time":"2026-04-23T21:44:38+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png","type":"image\/png"}],"author":"Derrell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Derrell","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/"},"author":{"name":"Derrell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7"},"headline":"Creating a Contact Form with FormMail","datePublished":"2011-09-02T15:38:54+00:00","dateModified":"2026-04-23T21:44:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/"},"wordCount":1178,"commentCount":69,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/","name":"Creating a Contact Form with FormMail | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png","datePublished":"2011-09-02T15:38:54+00:00","dateModified":"2026-04-23T21:44:38+00:00","description":"Set up a FormMail contact form on your InMotion Hosting account. Download, configure, and connect FormMail to your HTML form in cgi-bin.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png","width":1200,"height":630,"caption":"Creating a Contact Form with FormMail"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/creating-a-contact-form-with-formmail\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Creating a Contact Form with FormMail"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7","name":"Derrell","sameAs":["https:\/\/www.linkedin.com\/in\/derrell-willis"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/derrellw\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/Creating-a-Contact-Form-with-FormMail.png","jetpack_sharing_enabled":true,"primary_category":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57032"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=965"}],"version-history":[{"count":9,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/965\/revisions"}],"predecessor-version":[{"id":132032,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/965\/revisions\/132032"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/131873"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}