problem with the mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scanner
    Junior Member
    • Jul 2020
    • 14

    problem with the mail

    Hi good day.
    I have installed EspoCRM through Bitnami, it works fine, but when I want to add an email via IMAP or SMTP, it does not load, a "no data" message appears, however I am sure my settings are correct, when you I click on "test conection" it returns the message of "Connection is OK", and in the "send test mail" box it makes a test message go to my inbox and arrive correctly.

    Can you help me? Did I miss activating something or maybe it's a payment plan?
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    if connection is OK and send mail is OK..
    are you the email listed in admin section ?
    have you cron jobs running ?
    i don't know bitnami.. maybe can you give more information ?
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #3
      Don't think Bitnami will affect your system.

      Did you try clicking "All"? It might have been filtered there. I think it most likely a CRON issue that why you are not getting any email. Please check:






      On your server.

      Comment

      • scanner
        Junior Member
        • Jul 2020
        • 14

        #4
        The Bitnami EspoCRM can be downloaded here:

        The program helps a lot, since it installs the entire program automatically and leaves you ready to use. Special for newbies like me.

        I read something in the forum but I did not understand very well. Do I have to modify something in Cron?

        Comment

        • esforim
          Active Community Member
          • Jan 2020
          • 2204

          #5
          You have to activate CRON, CRON is basically a "list of task to do", activate it is, "Hey do this every minutes, and do this every 15 minutes, and do this every day, etc".

          Without enabling it, you have a "list of task to do" and "so who doing these task?"

          Email is basically check every few (not sure exact time here) minutes for New Email.

          Can you check if any of your CRON is successful? especially the email part:
          https://demo.espocrm.com/?lang=en_US#Admin/jobs <-- please note this is the demo server, please check yours server.

          Does your Bitnami have a Control Panel of some kind? Else you have to go through command way.

          Here is some quick search:

          https://docs.bitnami.com/aws/apps/mo.../install-cron/
          https://docs.bitnami.com/installer/a...ure-scheduler/
          https://docs.bitnami.com/installer/a.../install-cron/

          Comment

          • scanner
            Junior Member
            • Jul 2020
            • 14

            #6
            Originally posted by espcrm
            You have to activate CRON, CRON is basically a "list of task to do", activate it is, "Hey do this every minutes, and do this every 15 minutes, and do this every day, etc".

            Without enabling it, you have a "list of task to do" and "so who doing these task?"

            Email is basically check every few (not sure exact time here) minutes for New Email.

            Can you check if any of your CRON is successful? especially the email part:
            https://demo.espocrm.com/?lang=en_US#Admin/jobs <-- please note this is the demo server, please check yours server.

            Does your Bitnami have a Control Panel of some kind? Else you have to go through command way.

            Here is some quick search:

            https://docs.bitnami.com/aws/apps/mo.../install-cron/
            https://docs.bitnami.com/installer/a...ure-scheduler/
            https://docs.bitnami.com/installer/a.../install-cron/
            Thank you very much, I was able to solve the problem.
            Reading the links in your answer, I realized that I was missing executing the command php.exe and cron.exe, which can be found at this link:
            https://docs.bitnami.com/installer/a...duler/#windows

            Every time that command is run, emails are synchronized and received on the server.
            If that command is no longer rerun, emails no longer arrive. You have to keep running that command every so often so that emails arrive without delay.

            Comment

            • esforim
              Active Community Member
              • Jan 2020
              • 2204

              #7
              Yes, that how email is fetch. It basically do it every few minutes (5 minutes? by default) for new email since last sync.

              Comment

              • scanner
                Junior Member
                • Jul 2020
                • 14

                #8
                Now I have another problem, it turns out that I can send a simple text mail to anyone and it will reach them without problems.
                But when I attach a file of more than 10mb, when sending the mail it says "sending" and after 60 seconds it returns a message in red saying "timeout" and when seeing the status of the mail, it says "sending" but does not send anything in the end, mail can go all the way like this without being sent.
                Do you know anything about it?

                Comment

                • esforim
                  Active Community Member
                  • Jan 2020
                  • 2204

                  #9
                  Yes, big attachment is always an issue for me when sending with EspoCRM, sometime I would just use another email software or webemail to send out those large attachment.

                  It not my upload speed that causing timeout. I read in another thread it due to the "creation" of the record in Espo. You just have to wait a bit after attachment upload is finish before clicking the Send button which seem to helps.

                  Also increasing the Timeout second might also help too.

                  Comment

                  • scanner
                    Junior Member
                    • Jul 2020
                    • 14

                    #10
                    Yes, I studied the problem a little but I still have it, it makes a lot of sense what you tell me, since I installed EspoCRM on a laptop on an external HDD and the speed of sending emails is slow, but I installed it on my laptop with SSD and the speed is fast, it doesn't take too long.

                    I noticed that there is a process that is responsible for sending, it is "httpd.exe", which sends data to the SMTP server at a speed of 85KB/s, which is too slow if the attached file weighs 10MB, however if I try it through webmail, it is done at a normal speed.

                    I imagine that there must be some type of configuration in that aspect, some part where you can change the transfer speed of "httpd.exe" or take away the 60 seconds that EspoCRM brings by default when the page is "thinking".

                    Where did you read about speed in creating "records"? Can you pass me the link to see if I can see something? Couldn't you solve this problem?

                    Comment

                    • esforim
                      Active Community Member
                      • Jan 2020
                      • 2204

                      #11
                      That sound good, unfortunately I can't find the post and it doesn't mention of much of a solution in there either way. Unless there is a "solution" or more detail I wouldn't post it on my Learning EspoCRM thread so no way to keep track of it (tried doing a forum search but fail).

                      As for solving the problem, it is outside of my skill level, I wouldn't even know about this httpd.exe upload speed restriction if you didn't mention it. And it not something I can reproduce on my server either. But you are absolutely right, the upload speed within EspoCRM is weird.

                      I made a request for "Attachment/Upload" speed stat as a feature request but it went unnoticed. Not a feature anyone care enough about.

                      Comment

                      • Maximus
                        Senior Member
                        • Nov 2018
                        • 2731

                        #12
                        Hi scanner,
                        Please investigate these links:
                        1. https://docs.bitnami.com/installer/a...use-pagespeed/
                        2. https://en.wikipedia.org/wiki/Google...s#Speed_Impact

                        Comment

                        • scanner
                          Junior Member
                          • Jul 2020
                          • 14

                          #13
                          Thank you all very much for helping me in this matter.
                          So far I still have problems with sending attachments in email, even though it tells me "timeout", most of the messages are sent with the attachment included. In any case, we are not very frequent in sending heavy emails, most of them are plain texts, or some Word documents smaller than 1MB.

                          Thank you.

                          Comment

                          Working...