Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Inbound email errors

  1. #1
    skutter2k is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    11

    Default Inbound email errors

    Hi,

    I am having some difficulty with the email module. I can set up accounts and see email headers but when I click on an email to read it I just get "Loading". After logging off and back on I get "Either message Removed from Server or moved to a different folder" even though the email is still there.

    I have enabled debugging however there doesn't appear to be anything sinister in the log file.

    Really grateful for any help with this as it's a bit of a show stopper!

    Thanks

    Ritchie

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound email errors

    Try right clicking and choosing the "sync" option on the local menu to see if it helps.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    skutter2k is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    11

    Default Re: Inbound email errors

    Thanks for getting back to me. Unfortunately I have the same issue, it either says that the email has moved/been deleted or it just sits there with the loading message.

    I have read somewhere that it downloads a copy of the email to the cache folders before displaying it, could it be a permissions based issue? Does anyone know what the permissions should be set to?

    Thanks

    Ritchie

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound email errors

    It downloads the headers to a table named email_cache. Usually the sync option will line it up and correct the issue you are seeing.

    You could try clearing out the table and then checking your email account again to see if it corrects it. Also, may seem obvious, but have you double checked via another email client that the messages are actually still on the server?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    skutter2k is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    11

    Default Re: Inbound email errors

    Thanks, I have checked with various clients and the emails are there to see.

    I know the headers are copied into cache tables but I thought the message body was just stored in the file system until you actually ask it to copy the message into sugar? If this is the case could it be that the permissions are incorrect on my files/folders? I have already seen a few issues where it couldn't rename and create a new log file.

    Could someone let me know what their linux permissions are set to on the various important folders please? That would be very useful so I can eliminate that.

    Many thanks

    Ritchie

  6. #6
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound email errors

    The body is not downloaded until you import it into Sugar.

    The only purpose the file system serves in this scenario is for storing any related attachments that may accompany the email. In that case, it is stored in cache/upload. Note that this would happen after the email is imported into Sugar. Setting the permissions to 755 (recursively) on the cache folder should address potential permissions issues.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  7. #7
    skutter2k is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    11

    Default Re: Inbound email errors

    Hmm, still no joy :-(

    Here is the exact sequence of events:

    Click on emails
    Three emails showing with subject lines etc in the main window. No preview at this point obviously.
    Click on Synchronize, check email, clear cache etc all seems to work just fine.
    Click on an email in the top pane and the word loading appears in the preview pane.
    It's at this point that things seem pretty unhappy. If left nothing happens. If you click on anything email related from then on it just "sticks", even things that worked before like Sync or check email.
    The CRM becomes pretty unusable then until opened in a fresh browser.

    If after logging back in I go straight to an email without doing any of the extra steps like Sync I get told the message may have been moved or deleted, however I can still see the email in the email account if I check it with my own webmail app.

    I think I am at my wits end with figuring this out now!

    Thanks!

    Ritchie

  8. #8
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound email errors

    Unfortunately, your experience is about par for the course when it comes to troubleshooting email problems with Sugar. Or as I've come to describe it: being led through a mine field by a blind man.

    Anyway, did you try clearing out the email_cache table as previously suggested?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  9. #9
    skutter2k is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    11

    Default Re: Inbound email errors

    It just feels so close to working lol!

    Yes, logged into the DB and cleared the emal_cache table but I still have the same problems.

    Ritchie

  10. #10
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Inbound email errors

    Are you able to connect to those accounts via POP3?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 2010-05-12, 09:15 AM
  2. Logged Scheudler inbound email errors
    By vstokesjr in forum Help
    Replies: 1
    Last Post: 2009-12-22, 06:06 PM
  3. Replies: 11
    Last Post: 2009-02-26, 07:42 AM
  4. Replies: 8
    Last Post: 2008-12-04, 08:07 PM
  5. Replies: 3
    Last Post: 2008-04-09, 11:59 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •