Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor rajuru

    (@rajuru)

    Hello @gabeyoder

    Can you please give us little more info like where and when you get this error?

    SparkPost plugin doesn’t rely on any other plugins. I believe problem is somewhere else? Can you also try after re-activating the SparkPost plugin (deactivate it first and then activate). Also make sure you’ve checked ‘Enable’ on.

    Thread Starter gabeyoder

    (@gabeyoder)

    I see this error on the admin page after doing the setup. I am using the Test Email at the bottom and have the “show email debugging messages” checked.

    I get this..
    Connection: opening to smtp.sparkpostmail.com:587, timeout=300, options=array ()
    SMTP ERROR: Failed to connect to server: Permission denied (13)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    I tried the activate again and yes the Enable is on.

    Plugin Contributor rajuru

    (@rajuru)

    Ok, it makes sense now. Thanks for posting in detail. It looks like you do not have permission to use port 587. If you’re in a shared hosting environment, you can ask your hosting provider.

    Also you can try selecting Port 2525 from settings page. In some hosts, it may be open even though 587 is closed.

    Thread Starter gabeyoder

    (@gabeyoder)

    Connection: opening to smtp.sparkpostmail.com:2525, timeout=300, options=array ()
    SMTP ERROR: Failed to connect to server: Permission denied (13)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    Same error – and I’m hosting on my own Linux box. is it something in the build that I haven’t done? wpMandrill has worked fine.

    Plugin Contributor rajuru

    (@rajuru)

    wpMandrill worked may be cause you were using their HTTP API to send emails. We’re currently working on a similar implementation which will work on generic ports (80/443).

    Meanwhile if you can open the port(s), it should work. It might be blocked in your firewall (though i’ve seen in such cases it generally says connection refused or connection timed out depending on firewall settings). Can you please check if it’s blocked in your firewall?

    Also, you can try this in your server. Try running it from the same user that runs your php processes.

    nc -vz -w 3 smtp.sparkpostmail.com 587

    Thread Starter gabeyoder

    (@gabeyoder)

    I allowed TCP 587 in my firewall and still same error. also I can’t get the “nc” in that command to run.

    Plugin Contributor rajuru

    (@rajuru)

    Hi @gabeyoder
    Sorry to hear that it still not resolved. Mind sharing what error you get with nc (not sure if you need to install it, it’s available in my system) and how you allowed the port?

    Thread Starter gabeyoder

    (@gabeyoder)

    $ sudo firewall-cmd –zone=public –add-port=587/tcp –permanent
    $ sudo firewall-cmd –reload

    This is how I added it.
    What is nc? I don’t think I have it installed. I will look into that.

    This is the list
    nterfaces: ens32 ens33
    ources:
    ervices: dhcpv6-client ftp http https ssh
    orts: 21/tcp 587/tcp
    asquerade: no
    orward-ports:
    cmp-blocks:
    ich rules:

    Thread Starter gabeyoder

    (@gabeyoder)

    Here are the results of your nc command..
    220 2.0.0 smtp.sparkpostmail.com ESMTP ecelerity 4.2.14.53092 r(Core:4.2.14.0) Fri, 04 Mar 2016 01:39:22 +0000

    Plugin Contributor rajuru

    (@rajuru)

    I’m sorry to say I’m running out of ideas. Last thing I would like to know if the user you’ve tested the nc command same as the user that is running your php process.

    Also please feel free to contact to our support channels. You can directly email to [email protected] and/or join our slack channel (https://slack.sparkpost.com/). That way we’ll be able to help you further.

    Thanks

    Thread Starter gabeyoder

    (@gabeyoder)

    Latest update to 2.0 now works..!! Thank you so much guys for making a great product..!!

    Plugin Contributor rajuru

    (@rajuru)

    Thanks @gabeyder
    Please mark it as resolved if you like. Also please feel free to post here or in our github repo if you’ve further issues.

    Thread Starter gabeyoder

    (@gabeyoder)

    Resolved

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Sparkpost migrate from wpMandrill’ is closed to new replies.