Home › Forums › ART HTML5 Template › Contact form not working
- This topic has 8 replies, 2 voices, and was last updated 1 year ago by
SeaTheme.
- AuthorPosts
- November 21, 2022 at 12:20 am #28635
I just bought the theme, setup a site but contact form is not sending mails out. i use sendmail , mail , on my servers with other websites..
cannot have yours workingNovember 21, 2022 at 1:02 pm #28636Hi there,
Welcome to SeaTheme forum.Do you use the HTML version?
Does your website support PHP and mail server?Regards!
SeaTheme – FAQs – WordPress Customization – FacebookNovember 21, 2022 at 6:44 pm #28639yes i have other sites using php mail server, etc… no prob
November 21, 2022 at 6:45 pm #28640and yes i use the html version
November 22, 2022 at 2:53 pm #28646This reply has been marked as private.November 22, 2022 at 4:32 pm #28651<?php
$mailTo = ‘xxx.xxx@xxx.com’;
$name = htmlspecialchars($_POST[‘idi_name’]);
$mailFrom = htmlspecialchars($_POST[‘idi_mail’]);
$subject = ‘Website Feedback’;
$message_text = htmlspecialchars($_POST[‘idi_text’]);
$message = ‘From: ‘.$name.’; Email: ‘.$mailFrom.’ ; Message: ‘.$message_text;
$headers .= ‘From:’ . $mailFrom . ‘\r\n’;
mail($mailTo, $subject, $message, $headers);
?>November 23, 2022 at 1:28 am #28654Hi, thanks
Isxxx.xxx@xxx.com
changed as your mail address?Regards!
SeaTheme – FAQs – WordPress Customization – FacebookNovember 23, 2022 at 6:16 am #28656Of course xxx.Xxx@…com is my email address
November 24, 2022 at 7:11 am #28664Hi,
Could you please leave your website host FTP account by picking up “Set as private reply”?
Regards!
SeaTheme – FAQs – WordPress Customization – Facebook - AuthorPosts
- You must be logged in to reply to this topic.