Page 1 of 1
Email Setup
Posted: Thu Aug 30, 2012 8:29 am
by Saif
Script URL: 2.4.1
Version of script: 2.4.1
Hosting company: WAMP Server
URL of phpinfo.php: not sure
URL of session_test.php: not sure
What terms did you try when SEARCHING for a solution: gmail pop3
Write your message below:
Hi,
I'm trying to setup "From" email using pop3 setting, how ever it gives me an Error: Could not start TLS connection encryption protocol.
I'm not even receiving email through PHP mail.
Can you please let me know the solution to setup a email.
Re: Email Setup
Posted: Thu Aug 30, 2012 8:43 am
by Klemen
What exactly are you trying to setup? Email *sending* (making Hesk send emails) or email *fetching* (email to ticket)?
Re: Email Setup
Posted: Thu Aug 30, 2012 9:14 am
by Saif
Hi, thanks for replying.
I'm trying to setup my email account for both sending & receiving.
Re: Email Setup
Posted: Thu Aug 30, 2012 10:16 am
by Saif
this is error i get while trying to setup for EMAIL SENDING
Error: Could not start TLS connection encryption protocol
Resolving SMTP server domain "smtp.gmail.com"...
Connecting to host address "173.194.66.108" port 587...
Connected to SMTP server "smtp.gmail.com".
S 220 mx.google.com ESMTP fr4sm105298wib.8
C EHLO localhost
S 250-mx.google.com at your service, [83.110.96.104]
S 250-SIZE 35882577
S 250-8BITMIME
S 250-STARTTLS
S 250 ENHANCEDSTATUSCODES
C STARTTLS
S 220 2.0.0 Ready to start TLS
Starting TLS cryptograpic protocol
Re: Email Setup
Posted: Thu Aug 30, 2012 1:50 pm
by Klemen
OK, let's try SMTP first.
Gmail SMTP works for me if I use this info:
Host: smtp.gmail.com
Port: 587
SSL: OFF
TLS: ON
If this doesn't work, try this instead:
Host: smtp.gmail.com
Port: 465
SSL: ON
TLS: OFF
Any luck?
Re: Email Setup
Posted: Thu Aug 30, 2012 2:06 pm
by Saif
Tried... same error
Re: Email Setup
Posted: Thu Aug 30, 2012 2:08 pm
by Saif
when SSL : ON
I get this error
Error: Establishing SSL connections requires the OpenSSL extension enabled
Re: Email Setup
Posted: Thu Aug 30, 2012 4:51 pm
by Klemen
Enable OpenSSL extension (PHP > PHP Extensions > php_openssl) in your WAMP server then try SSL again.
Re: Email Setup
Posted: Thu Aug 30, 2012 6:08 pm
by Saif
Great... Connection was successful. however when i submit a ticket, i'm not receiving any mail from HESK or from the SENDER.
Re: Email Setup
Posted: Thu Aug 30, 2012 6:20 pm
by Klemen
Did you enter your Gmail email address and username into the SMTP settings?
Also, the "From email" setting in HESK must be exactly the same as the SMTP email address you use.
Re: Email Setup
Posted: Thu Aug 30, 2012 6:38 pm
by Saif
i received mails. how about email *fetching* (email to ticket)?
Re: Email Setup
Posted: Fri Aug 31, 2012 8:57 am
by Klemen
This works for me:
Host: pop.gmail.com
Port: 995
TLS: ON
+ Your gmail username/password
Note however that some servers block port 995, make sure your firewall allows connections through 995.
Re: Email Setup
Posted: Mon Sep 03, 2012 5:09 am
by Saif
Thanks Klemens foe all your help.