Forums › Forums › OroCRM › OroCRM – How do I? Questions › What does "Email synchronization settings" allow?
This topic contains 15 replies, has 7 voices, and was last updated by Tom Holland 8 years, 3 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- August 22, 2014 at 1:13 am #28156
Hello,
What is the “Email synchronization settings” intended for? Automatically fetch emails from my account and show them in the account/contacts details page?
I’m trying to tie my google apps account to OroCRM but have no idea if it works or not as there is no feedback from the UI. I filled up the “Email synchronization settings” information with :
imap.gmail.com
Port: 993
Requires SSL:Yes
User and PW
Sofar, I have no feedback from the UI and see no emails showing up in contacts and/or accounts.Thanks for your help,
Jonas - CreatorTopic
- AuthorReplies
- August 22, 2014 at 2:34 am #28157
Hello @jvonlanthen!
Yes, it does what you said. When settings are filled and saved for user, emails will be fetched automatically by cron job. For this purposes you need to configure system cron task for OroCRM
*/1 * * * * /usr/local/bin/php /path/to/app/console --env=prod oro:cron >> /dev/null
August 22, 2014 at 6:57 am #28158Thanks a lot @smaga!
I have got some additional comprehension questions :
– Where are then emails supposed to show up? In Accounts=>Activities=>Emails and Contacts=>Activities=>Emails ?
– What about Leads=>Activies=>Emails and Opportunities=>Activities=>Emails?
– How many mails will the system fetch? I have a big mailbox with emails from many years back…
– Will those mails show up for me only or will any OroCRM user be able to see them as well?August 28, 2014 at 4:22 pm #28159- Email synchronization syncs only emails that have relation to your contacts and after sync you should see them on user view and contact view pages.
Lead and opportunity emails currently will show only emails that were sent form correspondent entity pages.
As i mentioned above, sync will fetch only emails related to your contacts, not entire inbox.
Emails will be available based on ACL setup for user and account (if somebody else can view your user or contact they will see emails as well).August 29, 2014 at 7:28 am #28160Hey guys, we can’t seem to get email sync working. Everything seems to be setup, but it’s not syncing.
Question, when I enter email password under the email sync settings for individual users, the password disappears. Is this built-in security measure or password is not being stored?Thanks,
ViktorAugust 29, 2014 at 2:54 pm #28161Password disappear for security purposes. Please check if you have crontab configured for following command:
1php app/console oro:cron --env prodIt it is configured please describe what you have done so we’ll be able to reproduce the issue.
August 30, 2014 at 7:15 am #28162Hi Dima, yes we do have cron setup. Like Jonas, I’m trying to sync Google Apps email.
*/1 * * * * /usr/bin/php /home/public/crm.domain.com/public_html/crm-application/app/console --env=prod oro:cron >> /dev/null
We thought that blocked 993 port was the issue, but after opening it the issue still persists. We also do have php-imap installed.
Are there any specific requirements for email sync to work that a regular LAMP server might not have?
September 1, 2014 at 8:04 am #28163Thanks a lot @Soroka!
Emails will be available based on ACL setup for user and account (if somebody else can view your user or contact they will see emails as well).
Mmmh I need to understand better how it works.
– Let’s imagine my mom is in our oro contacts database.
– Let’s imagine my colleagues can view my mom’s contact (as it is our company contacts db) but cannot see my user detailsIn the OroCRM contact details page, will my colleagues see the mails I sent to my mom about the last family barbecue? :)
September 2, 2014 at 11:52 am #28164@victor – can you please check logs for oro:cron:imap-sync command under “System > Job Queue” and errors logs?
@jvonlanthen – yes, your colleagues will be able to see communication context around your mom contact as it could be important for future communication (for example everyone will be aware about last family barbecue and will not ask this question many times).
September 2, 2014 at 12:16 pm #28165Hey Dima, I checked and it’s empty. No records there. Does that mean cron isn’t running properly?
September 5, 2014 at 3:42 am #28166This is a great feature especially because it is fully automated but I think it needs to be possible to black list users and it must be easy to remove specific emails. Either way, there must be some way to control what gets synced to OroCRM.
Some other possibilities:
* require explicitly CCing (or forwarding to) a dedicated imap box
* require some keyword in the subjectSeptember 5, 2014 at 6:30 am #28167* require explicitly CCing (or forwarding to) a dedicated imap box
This would definitely be a very nice way to improve email integration. Sales teams can therefore easily choose what need be recorded or not in the CRM. It seems to be a feature of other standards CRMs (at least some I tested).
Is this somewhere on OroCRM’s roadmap?
September 5, 2014 at 12:56 pm #28168Thanks for your feedback, guys.
We have “CRM Inbox” item on our roadmap and will take your ideas into account during implementation.
@victor – output should not be empty, please check if you have anything in error log files.
September 6, 2014 at 8:36 am #28169Hi Dima,
I checked our error logs, there’s nothing there really. Some errors related to cache folder from few days ago, but no errors right now. This is our server error log.June 16, 2015 at 2:57 pm #28170IF emails exist in the inbox BUT no customer exists in CRM
THEN no import of email or create contact.IF customer created in CRM
THEN all emails in the inbox to that contact will be sucked into the profile when the job runs.
…even if the customer isn’t created in CRM for a few months or even years.Is this correct?
December 18, 2015 at 1:20 pm #28171@viktor (hopefully you solved this by now!) & perhaps others trying to troubleshoot the Job Queue,
Depending on your OS, you might need to include a username in your cron entry as well.
On CentOS 7.1 my cron entry needs to be like this:
PHP12# Cron for OROCRM Job Queue*/1 * * * * root /path/to/php /path/to/app/console oro:cron --env=prod > /dev/nullWithout the root username, it does not work.
- AuthorReplies
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.