Email Setup

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Email Setup

Post 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.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email Setup

Post by Klemen »

What exactly are you trying to setup? Email *sending* (making Hesk send emails) or email *fetching* (email to ticket)?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post by Saif »

Hi, thanks for replying.
I'm trying to setup my email account for both sending & receiving.
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email Setup

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post by Saif »

Tried... same error
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post by Saif »

when SSL : ON
I get this error
Error: Establishing SSL connections requires the OpenSSL extension enabled
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email Setup

Post by Klemen »

Enable OpenSSL extension (PHP > PHP Extensions > php_openssl) in your WAMP server then try SSL again.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post by Saif »

Great... Connection was successful. however when i submit a ticket, i'm not receiving any mail from HESK or from the SENDER.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email Setup

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post by Saif »

i received mails. how about email *fetching* (email to ticket)?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email Setup

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Saif
Posts: 9
Joined: Thu Aug 30, 2012 8:10 am

Re: Email Setup

Post by Saif »

Thanks Klemens foe all your help.
Post Reply