Error while sending E-Mail after server moving.

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • emillod
    replied
    Are you able to send emails from mail client installed on computer? For example thunderbird?

    Leave a comment:


  • florian
    replied
    Hey,

    thank you all for your answers. But I went off from GoDaddy shared Host for running EspoCRM. It is not possible to send Mails with SMTP over a external Mailserver, which is not running at GoDaddy. This ist no good solution for me.

    Leave a comment:


  • emillod
    replied
    Hello Guys,
    for 90% you have wrong email configuration. host shouldn't be localhost, you should have login and password.
    Plase check this https://blog.cpanel.com/setting-up-a...mtp-in-cpanel/

    Leave a comment:


  • item
    replied
    Hi,
    as you give some info this must be good. (i don't know godaddy or cpanel)
    Port: 25
    SMTP Authentication: none
    SSL or Secure Connection: None
    Server or Host : localhost

    in your case, you can test as above.
    if the mail go to spam, you need to add in dns : https://www.altospam.com/glossaire/spf.php ...
    some provider disable "port/smtp".. so you need to use provider "relay" with login/pass/port

    The relay, is something like so : crm send mail to relay (need login/pass generaly), relay dispatch to recepeint mail. sample "gmail, office365..."





    Leave a comment:


  • florian
    replied
    Originally posted by item
    Hi,
    what is your server operating system ? old and new ?

    maybe you need to check selinux and firewall : https://linux.die.net/man/8/sendmail_selinux

    setsebool -P httpd_can_sendmail 1

    search google for your operating system and firewall and selinux (i think it's on all linux distribution)

    I use Shared Webhostig. Now it is GoDaddy Germany - it is Linux Hoting.

    I found this on the GoDaddy Site:
    https://my.godaddy.com/help/send-for...lay-server-953

    Could this be the Problem? I use the Linux (cPanel) -Hosting.

    Thank you for Helping!
    What is the name of my hosting account's relay server?-Plesk Hosting

    Leave a comment:


  • florian
    replied
    Originally posted by shalmaxb
    correct port?
    Hey, yes it is still the same Port (465) for the SSL SMTP. With the Port Thunderbird is still working for outgoing Mails. I don't think, the Port is the Problem.

    Leave a comment:


  • item
    replied
    Hi,
    what is your server operating system ? old and new ?

    maybe you need to check selinux and firewall : https://linux.die.net/man/8/sendmail_selinux

    setsebool -P httpd_can_sendmail 1

    search google for your operating system and firewall and selinux (i think it's on all linux distribution)


    Leave a comment:


  • shalmaxb
    replied
    correct port?

    Leave a comment:


  • florian
    started a topic Error while sending E-Mail after server moving.

    Error while sending E-Mail after server moving.

    I moved my EspoCRM (version 7.1.3) from one server to another. After this, there is an error while sending e-mail out.

    In my log, I can see:

    [2022-04-28 08:47:59] ERROR: Email sending error: cannot connect to host; error = stream_socket_client(): unable to connect to ssl://mx2e12.netcup.net:465 (Network is unreachable) (errno = 0 ) [] []
    [2022-04-28 08:47:59] WARNING: Email sending:Email sending error.; 500 [] []

    The E-Mail Server is running and if I use for example Thunderbird I can send e-mail outgoing. The server is reachable with Thunderbird.

    I can receive e-mails in my EspoCRM Inbox, the cron is running.

    Any idea?

    Thanks for helping!
    --
    Florian
Working...