Possible solutions of your questions

  hosting
<< Previous       feedback smtp

Question: Hello! On my site yuliaphoto.ru in the contact section there is feedback via google smtp. ON your computer (from xampp localhost) works without any problem, emails are sent. When you fill to hosting, click submit - nothing happens, just loading and stops. (on xampp php version 5.0.2), have you tried with different versions - did not help. The problem started 4 days ago, before it was tested - everything worked out with your hosting. What could be the problem?
Answer:

Hello. check cakn configured your script

Question: \"smtp.gmail.com\", \"SMTP_port\" => \"465\", \"SMTP_email\" => \"my mail\", \"SMTP_pass\" => \"my password\", \"SMTP_type\" => \"ssl\");// Email recipient/Recipient$Receiver = \"[email protected]\";// message Subject$Subject = \"Send email from PHP\";// message Text (in HTML)$Text = $_GET[`Author`];// Attachment email - address to the file$Attachment = \";/* $mail = new KM_Mailer(server, port, user, password, type); *//* Type can be: null, tls or ssl */$mail = new KM_Mailer($SenderConfig[`SMTP_server`], $SenderConfig[`SMTP_port`], $SenderConfig[`SMTP_email`], $SenderConfig[`SMTP_pass`], $SenderConfig[`SMTP_type`]);if($mail->isLogin) { // Attach a file if($Attachment) {$mail->addAttachment($Attachment);} // Add a recipient // $mail->addRecipient(`[email protected]`); // $mail->addRecipient(`[email protected]`); /* $mail->send(From, To, Subject, Text, Header = optional) */ $SendMail = $mail->send($SenderConfig[`SMTP_email`], $Receiver, $Subject, $Text); // clear the list of recipients $mail->clearRecipients(); $mail->clearCC(); $mail->clearBCC(); $mail->clearAttachments(); //echo \"message sent successfully!
\"; echo \"
message sent successfully!
\";} else { echo \"an error Occurred during a connection to SMTP server
\"; }?>
Answer:

Your question is sent to the administrator.

Answer:

Hello.

you Have a connection error:

18-Aug-2015 05:17:45 UTC] PHP Warning: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) in /home/serega89/public_html/yuliaphoto.ru/km_smtp_class.php on line 47

you Have been disconnected the module sockets in PHP in spanel section to select the version of PHP. In the file text.php was BOM.

Question: You need to make it work as before? sockets are now enabled, encoding, tried different file text.php - still does not work
Answer:

Now receive a message about connection error to the SMTP server. The connection details correct? Check them please.

Question: My computer is an exact copy of what is on the website, and my computer all running on a virtual xampp. The feeling that the hoster has some kind of cache and how it should be cleaned
Answer:

hosted cache is not used

Question: what can you do, what would work?
Answer:

details of podkluchenie you checked?

Question: Yes, exactly the same on the local server it works, on server - no
Answer:


please Check now.

Question: Now works! What did you do??
Answer:

added the server to trusted

 

Question: Thank You so much!!
Question: Thank You so much!!
Answer:

thank you for contacting tech support

Question: Look please again still not working?
Answer:

must rabatt

Question: It worked for 5 minutes, now once again what was
Answer:

from our side everything is set up

Question: maybe your settings were off? how do you set up a trusted server?
Answer:

no. nothing flew off. all checked

Question: can try to remove the server from the trusted and re-add? how did you do this?
Question: now works!
Question: now does not work\"can try to remove the server from the trusted and re-add? how did you do this?\"
Answer:

please Check now.

Question: Now works! The error occurs when I change a file text.php (for example just change the recipient address of the email)... what settings you changed, may I in the future to modify?
Answer:

Settings have not changed. I smtp.gmail.com changing the IP that you want doublet in trusted. Now we`ve already added 6 addresses.

Question: thank you
Answer:


ok


<< Previous