• Resolved clintcunha

    (@clintcunha)


    Good day,

    I installed EME on my localhost, edited the form and seccessfully submitted the form and mails were sent to my local mail test tool.

    But when I try in a live site the mails are not being sent.
    I have set up smtp settings according to my host and all is correct.
    Enable RSVP notifications is set to yes.

    I then turned on debug and tried to send a mail from Send Mail option and got this notice:

    2016-09-07 10:13:36 SERVER -> CLIENT: 220 www449.jnb1.host-h.net ESMTP Exim 4.80 Wed, 07 Sep 2016 12:13:36 +0200 2016-09-07 10:13:36 CLIENT -> SERVER: EHLO dirtjunkie.co.za 2016-09-07 10:13:36 SERVER -> CLIENT: 250-www449.jnb1.host-h.net Hello dirtjnwnxh at www449.jnb1.host-h.net [41.203.16.63] 250-SIZE 31457280 250-8BITMIME 250-ETRN 250-PIPELINING 250-AUTH LOGIN PLAIN 250-STARTTLS 250 HELP 2016-09-07 10:13:36 CLIENT -> SERVER: STARTTLS 2016-09-07 10:13:36 SERVER -> CLIENT: 220 TLS go ahead 2016-09-07 10:13:36 SMTP Error: Could not connect to SMTP host. 2016-09-07 10:13:36 CLIENT -> SERVER: QUIT 2016-09-07 10:13:36 SERVER -> CLIENT: 221 www449.jnb1.host-h.net closing connection 2016-09-07 10:13:36 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Any ideas where it has gone wrong between localhost and live server?

    Thank you in advance for your help

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Franky

    (@liedekef)

    Well, since the client only got a server disconnected, you should verify your settings.
    What are your smtp settings? Did you put “tls://my.mail.server” ? The “tls://” will force tls then, if the server supports it. Also maybe smtp auth is needed?

    Thread Starter clintcunha

    (@clintcunha)

    Thank you for prompt response.

    SMTP settings are:
    smtp host: smtp.dirtjunkie.co.za
    port: 587
    authentication: yes
    username and password correct

    This what what I should use according to host.
    Should I make the smtp host tls://smtp.dirtjunkie.co.za

    Plugin Author Franky

    (@liedekef)

    587 ? That means you need ssl … so change your smtp host setting to

    ssl://smtp.dirtjunkie.co.za

    And try again

    Thread Starter clintcunha

    (@clintcunha)

    Gave that a try. It then gives me this which happens instantly:

    2016-09-07 11:50:21 SMTP ERROR: Failed to connect to server: (0) 2016-09-07 11:50:21 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Plugin Author Franky

    (@liedekef)

    Well, then it is not ssl πŸ™‚ Try tls then …

    Thread Starter clintcunha

    (@clintcunha)

    Tried both of them but not working πŸ™‚

    Plugin Author Franky

    (@liedekef)

    Then try another port:
    ssl + 465 typically works
    or nothing and port 25
    or tls and port 25

    Thread Starter clintcunha

    (@clintcunha)

    I have tried those options but no luck. I am in contact with my host to try resolve the matter and see what options they can give me.

    Once I have it working I will post here so it can help others with the same issue.

    Plugin Author Franky

    (@liedekef)

    If all else fails and mail works from within wordpress itself, use “wp_mail” as method, not smtp.
    It is also very well possible that you need to use “localhost” on your hosting server as mailserver.

    Thread Starter clintcunha

    (@clintcunha)

    I changed to wp-mail as method and that is working fine so I will leave it at that.
    Thank you so much for all your help. It is much appreciated!

    I tested so many event management systems but yours is the only one with proper functionality that can be customized, with fast support on top of that.

    This plugin should be on the top of the list! πŸ™‚

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Problem with mail’ is closed to new replies.