form doesn't work

1 reply · opened Jun 23, 2023

EesaulovarsenijJun 23, 2023

Hey, I have a problem with my form working. I'm using GoDaddy to host it (the PHP version is 7.4) and not really sure how to fix it. I have only js/functions.js connected to my HTML.

Here is what my contact section looks like:

            

               
                  
                     
                        Get In Touch
                        Contact Us:
                        
We are always here to assist you and answer all the question you may have. Get it touch about private AI instructions or working with your team to supercharge your business.

                        
                           
                              
                                 _
                                    
                                       

                                    
                                 _
                              
                              
                                 info@example.com
                                 
                              
                           
                           
                              
                                 _
                                    
                                       

                                    
                                 _
                              
                              
                                 [(1) 22
                                       55412474](tel:+122-55412474)
                              
                           
                           
                              
                                 _
                                    
                                       

                                       

                                    
                                 _
                              
                              
                                 
                                    795 Folsom Ave, Suite 600
                                    San Francisco, CA 94107
                                 
                              
                           
                        
                     
                     
                        
                           
                              

                                 

                                 

                                    
                                    

                                    
                                       
                                          Name
                                             *
                                          
                                       

                                       
                                          Email *
                                          
                                       

                                       
                                          Message
                                             *
                                          
                                       

                                       
                                          
                                       

                                       
                                          Send
                                             Message
                                       
                                    

                                    

                                 
                              
                           
                        
                     
                  
               

            

Here is my form.php file beginning, where I did a change:

 'myemail@gmail.com', // Your Email Address
	'name' => 'Test' // Your Name
);

/*-------------------------------------------------
	Sender's Email
---------------------------------------------------*/

$fromemail = array(
	'email' => 'myemail@gmail.com', // Company's Email Address (preferably currently used Domain Name)
	'name' => 'Test' // Company Name
);

/*-------------------------------------------------
	reCaptcha
---------------------------------------------------*/

// Add this only if you use reCaptcha with your Contact Forms
$recaptcha_secret = ''; // Your reCaptcha Secret

/*-------------------------------------------------
	hCaptcha
---------------------------------------------------*/

// Add this only if you use hCaptcha with your Contact Forms
$hcaptcha_secret = ''; // Your hCaptcha Secret

/*-------------------------------------------------
	PHPMailer Initialization
---------------------------------------------------*/

$mail = new PHPMailer();

/* Add your SMTP Codes after this Line */

// End of SMTP

Please help

SSemicolon WebSTAFFJun 26, 2023

Hello,

Thanks for your Kind Patience!

We recommend using SMTP: https://docs.semicolonweb.com/docs/forms/form-setup/#docs-section-php as GoDaddy Hosting blocks PHP mail() Function (which other Hosting Providers will also Block due to security concerns, so it is always recommended to use SMTP). Additionally, it is better if you use SMTP from a dedicated SMTP Service like SendGrid or Gmail (using an App Password) as GoDaddy Hosting are known for blocking SMTP on their own Servers.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard
form doesn't work · Canvas Template Support