Gears Posted March 29, 2009 Author Share Posted March 29, 2009 POP is enabled but IMAP is disabled. Should I enable IMAP even though it's not using IMAP? Yes, try it. 0 Quote Link to comment Share on other sites More sharing options...
zmenchhofer Posted April 2, 2009 Share Posted April 2, 2009 it is not working for me.. i am using 3.8.2 and Gapps i have POP3 and IMAP enabled... i run the PHP command from the shell and see it imports 1 email however, no ticket is opened! 0 Quote Link to comment Share on other sites More sharing options...
beboo Posted April 8, 2009 Share Posted April 8, 2009 it is not working for me.. i am using 3.8.2 and Gapps i have POP3 and IMAP enabled... i run the PHP command from the shell and see it imports 1 email however, no ticket is opened! Check the Ticket Mail Import Log under Utilities and make sure it even picked up the email. Gears: I am having a similar issue. It picks up the mail and it shows in the Import Log page but the To: field is blank and it says Department Not Found. Obviously... the To field is blank. I am not using the files provided in this thread. Should I try them? Brandon 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted April 9, 2009 Author Share Posted April 9, 2009 I am not using the files provided in this thread. Should I try them? Yes, of course. Remember to back everything up first - including individual files and the database. 0 Quote Link to comment Share on other sites More sharing options...
beboo Posted April 9, 2009 Share Posted April 9, 2009 I noticed that those files are just for SMTP with Google. I will try them anyway and let you know. 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted April 9, 2009 Author Share Posted April 9, 2009 When doing Step 3, did you enter in all the information? Even the Department Name, Description, and Email Address (the stuff above the POP3 Importing Configuration)? 0 Quote Link to comment Share on other sites More sharing options...
beboo Posted April 9, 2009 Share Posted April 9, 2009 When doing Step 3, did you enter in all the information? Even the Department Name, Description, and Email Address (the stuff above the POP3 Importing Configuration)? !!! So stupid! I had the email address as admin@ not support@... Ugh! It works great. Thanks a lot! 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted April 10, 2009 Author Share Posted April 10, 2009 !!! So stupid! I had the email address as admin@ not support@... Ugh! It works great. Thanks a lot! Glad you have it working now 0 Quote Link to comment Share on other sites More sharing options...
stephen_c01 Posted April 24, 2009 Share Posted April 24, 2009 I implemented this a bit differently. Instead of doing POP collection, i forward my Google apps account to an email account in a subdomain and do pipe import into whcms. This give me a more instant ticket import. -sc 0 Quote Link to comment Share on other sites More sharing options...
stephen_c01 Posted April 24, 2009 Share Posted April 24, 2009 (edited) I am to lazy to modify code. WHMCS's PHP mail classes are from http://phpmailer.codeworxtech.com/index.php?pg=sf&p=dl I just upgrade my classes to V5 and added ssl:// to my smtp host and we are golden. I dont know why WHMCS does not just upgrade their phpmailer class. Edited April 24, 2009 by stephen_c01 cant spell 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted May 8, 2009 Author Share Posted May 8, 2009 adamscybot has kindly updated us on his mod for V4: http://forum.whmcs.com/showpost.php?p=102906&postcount=26 0 Quote Link to comment Share on other sites More sharing options...
FiFtHeLeMeNt Posted May 8, 2009 Share Posted May 8, 2009 Hi, I customized phpmailer v5.0 for WHMCS , you can download it here : http://www.adminsehow.com/2009/05/how-to-use-google-apps-email-with-whmcs/ it works with version 4.0 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted May 8, 2009 Author Share Posted May 8, 2009 Hi,I customized phpmailer v5.0 for WHMCS , you can download it here : http://www.adminsehow.com/2009/05/how-to-use-google-apps-email-with-whmcs/ it works with version 4.0 What does your customization do? 0 Quote Link to comment Share on other sites More sharing options...
FiFtHeLeMeNt Posted May 8, 2009 Share Posted May 8, 2009 Hi Gears , Thank you for your great guide. I only made changes to it to work with your guide. adding "tls://" part. the phpmailer class which you have posted in your guide is very old and is v2.0rc3. so I thought updating it will be helpful and more stable. Regards 0 Quote Link to comment Share on other sites More sharing options...
adamscybot Posted May 8, 2009 Share Posted May 8, 2009 Hi Gears ,Thank you for your great guide. I only made changes to it to work with your guide. adding "tls://" part. the phpmailer class which you have posted in your guide is very old and is v2.0rc3. so I thought updating it will be helpful and more stable. Regards There isn't much point in this modification anymore. Whmcs V4 includes the necessary code for TLS. Open class.phpmailer.php find "var $SMTPSecure" and set it to "tls" 0 Quote Link to comment Share on other sites More sharing options...
FiFtHeLeMeNt Posted May 8, 2009 Share Posted May 8, 2009 WHMCS V4.0 still includes v2.3 of phpmailer which is old. phpmailer is version 5 now. also by changing $SMTPSecure to tls , it wont work with non secure SMTP servers any more , so it is better to use "tls://" hack for compatibility with all SMTP servers. I suggest WHMCS uses officially this hack in its package. 0 Quote Link to comment Share on other sites More sharing options...
adamscybot Posted May 9, 2009 Share Posted May 9, 2009 WHMCS V4.0 still includes v2.3 of phpmailer which is old. phpmailer is version 5 now.also by changing $SMTPSecure to tls , it wont work with non secure SMTP servers any more , so it is better to use "tls://" hack for compatibility with all SMTP servers. I suggest WHMCS uses officially this hack in its package. Well WHMCS basically copied my mod and pasted it in so yeh. They probably should update the class. 0 Quote Link to comment Share on other sites More sharing options...
WebCave Posted May 14, 2009 Share Posted May 14, 2009 I cant seem to get my mail relay to work i have tryed putting tls in the phpclassmailer file ect.. and i checked the tick box and made sure it was on SMTP all i get everytime is this "Email Sending Failed - SMTP Error: Could not connect to SMTP host." and yes i did change the mail type to SMTP its just set to PHP mailer atm here is my stats I had the same setup on my 3.8.1 with that one persons hack and it worked fine. Thanks for any help 0 Quote Link to comment Share on other sites More sharing options...
jegavelan Posted May 16, 2009 Share Posted May 16, 2009 HI I am getting the error An Error Occurred: Can't connect to gmail-pop.l.google.com,995: Connection timed out 0 Quote Link to comment Share on other sites More sharing options...
adamscybot Posted May 19, 2009 Share Posted May 19, 2009 HI I am getting the error An Error Occurred: Can't connect to gmail-pop.l.google.com,995: Connection timed out That indicates a firewall issue between your WHMCS server and the google servers. Either that, or that certain google server is down (doubt it). You could try changing the priority order of your MX records. 0 Quote Link to comment Share on other sites More sharing options...
jlk Posted May 24, 2009 Share Posted May 24, 2009 Thank you very much for your excellent tutorial. I am new to this product and set up three support departments with separate email accounts @mydomain.com using Google Apps and it works perfectly. 0 Quote Link to comment Share on other sites More sharing options...
Chinmi Posted May 31, 2009 Share Posted May 31, 2009 Hey guys, I've been getting these emails: Subject: Cron <REMOVED@georgia> php -q /home/REMOVED/public_html/client/pipe/pop.php <b>POP Import Log</b><br>Date: 30/05/2009 19:41:01<hr>Host: pop.gmail.com<br>Email: tech@domain.com<br>Email Count: 0<hr> What are these? 0 Quote Link to comment Share on other sites More sharing options...
Lightwave Posted May 31, 2009 Share Posted May 31, 2009 Mail from cron saying it ran the POP ticket import functions setup at Setup -> Support Departments. 0 Quote Link to comment Share on other sites More sharing options...
Chinmi Posted May 31, 2009 Share Posted May 31, 2009 ah thanks, I thought they were an error. On another note, I noticed that when I reply the ticket through email, the ticket does get the response, however the client doesnt get an email of the response. Is this happening to anyone else? 0 Quote Link to comment Share on other sites More sharing options...
sarwarfsd Posted July 13, 2009 Share Posted July 13, 2009 1. Create a google app acct for your domain 2. Verify your domain for Google 3. Log into Google Control Panel for your domain and create appropriate email accounts that will be using WHMCS ticketing system and receiving tickets. 4. For all accounts that will be receiving tickets, be sure to enable POP3 and IMAP in Google Mail's webmail interface. 5. Adjust your mx records on your webserver to redirect your email service to google. 6. Here's one of the "gotchas" in getting this set up. You must enable Imap-SSL/Pop3-SSL with your webserver's php installation. Many times you will need to contact your hosting providers to do this for you. The reason for that is because Google Mail services will only accept secured connections. (or try install php5-imap package) 7. In WHMCS, in support depts, Create a department and configure the email account assigned to it like so: hostname: pop.gmail.com port: 995 user: youremail@yourdomain.com pwd: yourpassw0rd 8. In the account you set up in WHMCS in support dept, make sure to go into google settings to enable both IMAP and POP. 9. Set up your cron job within your Web Hosting control panel (Plesk, cPanel, Direct Admin etc.): */5 * * * * php -q /home/username/public_html/whmcs/pipe/pop.php 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.