Announcement

Collapse
No announcement yet.

Sendgrid Problems?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • KarenBM
    replied
    This is what I get when testing scripts:
    SMTP Communication

    Get host name...


    Host name is '*******'
    DNS lookup...


    OK
    Create socket address...


    OK
    Create socket...


    OK
    Connecting to socket...


    FAILED. Connection timed out
    SMTP Test failed
    _____ End of SMTP Test ____

    Leave a comment:


  • KarenBM
    replied
    Originally posted by NormanRouxel View Post
    I have a 2016 site on 1&1 with sendgrid used for the emails. I just tried it using the manual patches to TestSettings.pl and ACTINIC.pm (using 2525) and the Network Test passed and the test email arrived here.

    Could your Sendgrid account be the problem?
    I did think that Norman and set up another account to try, but had exactly the same result there. Thanks for testing that for me.

    Incidentally. Odd when testing network settings. If I alter the username for example it will still say network test was successful! I don't get a list of results, just that it has been successful etc

    Leave a comment:


  • NormanRouxel
    replied
    I have a 2016 site on 1&1 with sendgrid used for the emails. I just tried it using the manual patches to TestSettings.pl and ACTINIC.pm (using 2525) and the Network Test passed and the test email arrived here.

    Could your Sendgrid account be the problem?

    Leave a comment:


  • KarenBM
    replied
    Had it on port 2525, tried 25 - even though it is blocked by 1and1 - also tried 587 and 465 - none worked

    Leave a comment:


  • KarenBM
    replied
    Originally posted by NormanRouxel View Post
    That setting ExternalSMTPPort setting came from this forum. See https://community.sellerdeck.com/for...1-server/page2 post #28.

    So you should be able to set it under Settings / Site Options / Properties / Site.
    Ah that's where it came from. Thanks Norman. Now I'll have a play and see what happens. It is set at 2525 at the moment.

    Leave a comment:


  • KarenBM
    replied
    Originally posted by Goz View Post
    Go into Design > Design Library > Variables.

    Right Click on Library at the top and then select Find and look for ExternalSMTPPort - this will tell you where the variable is set. You can play with the 3 standard port numbers then to see if any of them work.
    Let us know how you get on.
    Yes found that now. Thank you Goz. Will let you know how I get on.

    Leave a comment:


  • NormanRouxel
    replied
    That setting ExternalSMTPPort setting came from this forum. See https://community.sellerdeck.com/for...1-server/page2 post #28.

    So you should be able to set it under Settings / Site Options / Properties / Site.

    Leave a comment:


  • KarenBM
    replied
    Originally posted by Goz View Post

    ACTINIC.pm is 340kb

    TestSettings.pl is 30kb

    Mine are:
    ACTINIC.pm is 338kb - size on disk 340
    TestSettings is 29.9kb size on disk 32kb

    Leave a comment:


  • Goz
    replied
    Go into Design > Design Library > Variables.

    Right Click on Library at the top and then select Find and look for ExternalSMTPPort - this will tell you where the variable is set. You can play with the 3 standard port numbers then to see if any of them work.
    Let us know how you get on.

    Leave a comment:


  • KarenBM
    replied
    That would have been me at some point then, I have no recollection of doing that whatsoever, but then as we all know Actinic/Sellerdeck has necessitated a lot of tweaking over the years. In any case everything was working perfectly with those templates for years until two days ago.

    Leave a comment:


  • Goz
    replied
    Looking at your post again, it looks like you've got a modified copy of ACTINIC.pm. Someone has introduced a variable to set SMTP somewhere in your copy of SD - that is not a standard copy of ACTINIC.pm

    Leave a comment:


  • Goz
    replied
    In that case I would suggest that your copies of ACTINIC.pm and TestSettings.pl are both corrupt.

    I've checked all my SD2014 sites and, as I said in my post, $nSmtpPort is being set on the lines I mentioned.

    ACTINIC.pm is 340kb

    TestSettings.pl is 30kb

    Leave a comment:


  • KarenBM
    replied
    Hi Goz. There are no visible port settings in neither Actinic.pm or TestSetting.pl, I already checked. I just have:

    # Gather the SMTP host, server, and socket information
    #
    my ($nProto, $them, $nSmtpPort, $sLocalHost, $sMessage, $serverIP);

    my $sLocalhost = GetHostname(); # get the local machine name or ip address
    if ($sLocalhost eq '')
    {
    $sLocalhost = 'localhost'; # try localhost as a final possibility
    # GetHostname should not fail on most of the systems
    }

    $nProto = getprotobyname('tcp');
    $nSmtpPort = <actinic:variable name="ExternalSMTPPort" />; # Use default port - LINE 1321

    $serverIP = inet_aton($sSmtpServer); # due the dns lookup and get the ip address
    if (!defined $serverIP)
    {


    UPDATE: Just checked my previous installation of V14.03 and that didn't have the port number defined in Actinic.pm or Testsettings.pm either.

    Leave a comment:


  • Goz
    replied
    ACTINIC.pm on SD2014....

    $nSmtpPort is set on line 1321

    By default it is set to 25

    Try 465 or 587

    You should also look for the same variable at line 480 on TestSettings.pl

    Leave a comment:


  • KarenBM
    replied
    Just checked Actinic.pm for the port settings and they are nowhere to be seen. I had a computer crash in March and had to download the software from Sellerdeck again, but assumed any tweaks I had done would be imported in the snapshot. It has been working OK though since March until yesterday so no idea what has happened. Any help would be gratefully received.

    Leave a comment:

Working...
X