Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 474 posts 932 karma points
    Feb 17, 2012 @ 18:12
    suzyb
    0

    Can't connect to SMTP server

    I'm getting the message "Could not connect to the SMTP-server. Please check your settings." when I try and send a newsletter.

    I'm sure my settings are correct though and can send test newsletter emails.  But when I try to actually send the newsletter I get "Could not connect to the SMTP-server. Please check your settings.". 

    AFAIK the mail server doesn't allow relaying, we can only send emails to company addresses and when testing the SMTP connection I get this error "Could not connect. Please check settings and credentials. Error message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay".  However the only email on the mailing list I am using is a company one.

    Any ideas what the problem could be?

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Feb 17, 2012 @ 19:41
    Markus Johansson
    0

    Hi!

    The connection is tested by actually sending a real email to a "dummy box" that we're hosting. We looked around and found out that the only good way to really test the smtp-server was to send an e-mail. But we did not consider an enviroment where emails only can be sent inside the company (which we should have done). I'm thinking that we should add a configuration-option to set which email to use for testing, I think that this would solve your problems?

    We're about a week from the next release (where we'll include this feature) but if you really want to test the package right now. Please send me and email at markus [at sign] enkelmedia.se and I'll provide you with a custom dll where the connection-checker is disabled.

    Have a great weekend!

  • suzyb 474 posts 932 karma points
    Feb 17, 2012 @ 20:22
    suzyb
    0

    Is it just when testing that is done i.e. that wouldn't be the problem with sending the newsletter?

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Feb 20, 2012 @ 06:57
    Markus Johansson
    0

    Hi!
    The test is also perfomed when the send out starts (the exact same test - sending a real email). This is so ensure that the servers works before sending the emails.

    / M

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Feb 21, 2012 @ 06:01
    Markus Johansson
    0

    As an update I would like to mention that there is a known pwoblem with the connection-tester in version 1.1.3. Is anyone experiance problems with testing the connection on 1.1.3 please upgrade to 1.1.4 - that will solve this problem.

  • suzyb 474 posts 932 karma points
    Mar 18, 2012 @ 20:16
    suzyb
    0

    Did this feature get included in the new release.  I've upgraded but am still getting errors.

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Mar 19, 2012 @ 06:21
    Markus Johansson
    1

    Hi Suzyb!

    Yes, but it's not very well documentet at the moment. You need to add a new attribute to the OutgoingEmail-element in web.config. The config-file is located at "/umbraco/newsletterstudio/web.config/.

    Add an attribute called "sendConnectionTestEmailsTo" and set it to your perfered email. Ie:

     <outgoingEmail throttlingEnabled="false" throttlingMessagesPerBatch="" throttlingSecondsBetweenBatches="" messagesBeforeJumpingToNextServer="" sendConnectionTestEmailsTo="[email protected]">
       <smtpServers>
                    ...
       </smtpServers>
    </outgoingEmail>

     

  • ashwini 43 posts 63 karma points
    May 26, 2012 @ 00:01
    ashwini
    0

    HI MARKUS,

    I was getting the could not connect to server error and i followed your steps of adding the attribute to the webconfig file. But after i did that, its giving me the follwoing error:

    Object reference not set to an instance of an object.

    What should i do ?

    Thanks 

    ashwini.

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    May 26, 2012 @ 10:47
    Markus Johansson
    0

    Hi Ashwini!

    When are you getting this error? What database are you running and which version of Newsletter Studio? (Look at the binaries to se version if your not sure).

    // Markus

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    May 28, 2012 @ 14:11
    Markus Johansson
    0

    Hi again Ashwini!

    Do you run any custom render tasks?

    Have you had a look at this topic? http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/32097-Notification-of-custom-render-task-failure

  • ashwini 43 posts 63 karma points
    Jun 05, 2012 @ 17:07
    ashwini
    0

    HI Markus,

    Sorry for the delay in response, i am running the latest TRIAL version of the newsletter studio. I am having trouble with

    1] Connecting to the server to send out the email. If i go to settings and try to test SMTP connection, it always fails no matter what server i choose (local host or mail.newsserver.com). What am i doing wrong ?

    2] Error when i hit send button after composing a newsletter. I am clicking on "Send out a test mail" to myself. I changed the webconfig file as mentioned in this post earlier. I have attached a screenshot of my error.

     

    Can you please help me out ?

    Thanks 

    Ashwini.

  • Markus Johansson 1924 posts 5831 karma points MVP 2x c-trib
    Jun 07, 2012 @ 12:31
    Markus Johansson
    0

    Hi!

    1. Did you change the "sendConnectionTestEmailsTo"-setting? Is that mailbox valid? Are you running an SMTP-server on your localhost? Does your internet provider block the outgoing port? If you try on your local machine, install Papercut to test out the software. http://papercut.codeplex.com/

     

    2. Hmm, it can't tell you what goes wrong, which version of Newsletter Studio are you running? It could be related to your smtp-settings that fails. Have you implemented any custom stuff? RenderTasks? Does the "preview"-button in the editor work?

     

    // M

     

Please Sign in or register to post replies

Write your reply to:

Draft