I am building a website using one of the many free website templates available on the internet. Anyways, I am trying to get the contact form working... Mailto: isn't working, and my server doesn't allow phpmail. So if possible it needs to be via SMTP The template is a one page html5 using bootstrap and css I am not knowledgeable about programming etc., just able to make simple changes using dreamweaver, so please make any help in plain English... Many thanks...
Hi, What type of template do you use? I mean, is it a template for some CMS (WordPress, for example) or is it a "normal" template (just a bunch of HTML/CSS files)?
html some scss, some java, some css This is what I am trying to change... https:// freehtml5. co/demos/foodee/
If you are going to use the template for WordPress then it's not gonna work. What I know is WordPress has their own Themes. Maybe I can fix the problem if you are using WordPress.
no... it's not wordpress....my current site is on wordpress but i'm with webhosting uk and it's sooooooo slow this is for a standalone html site The template, i'm trying to use as said is... https:// freehtml5. co/demos/foodee/ .... just remove the spaces after the // and before the co thanks
any help with this? pretty much everything works now except the contact form https://www.carlcooper.co.uk/
Well, there's not much you can do about template then, if it's server restriction not to allow sending emails via phpmail. In order to fix the issue, you need to use another method to send emails from contact form, but it's not related to template itself, it's a PHP thing. Your guess that you need to send emails using SMTP was correct, so just go for it. I would recommend doing ith with Swift Mailer ( https://swiftmailer.symfony.com ) or another PHP mailing library, so you don't need to write all the code yourself.
Thanks.... I didn't know if there was a quick smtp way where I could just add a config file and call for it instead of mailto: