Copied to clipboard

Flag this post as spam?

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


  • Jeroen Ribbink 21 posts 50 karma points
    Oct 29, 2014 @ 13:18
    Jeroen Ribbink
    0

    Send error umbraco 7

    hi Markus,

    I'm testing Newsletter studio for a customer and bought a license. But if I want to send a test mail or the real mail it keeps saying that something went wrong. the following error is displayed: Error: Could not send. An error occurred. Please try again or check the Umbraco log.

    The log says: Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 0 | Comment: NewlsetterStudio:SendTestEmail. Could not send since there is no SMTP configured. Neither in /config/newsletterStudio.config-file or /web.config. Please add an SMTP-server.

    In my web.config and newsletterstudio.config SMTP servers(multiple) are configured. I've also tested with no SMTP in newsletterstudio.config and only in the web.config. nothing works.

    does this have something to do with permissions?

    hope you can help me out.

    thanks in advance

    kind regards, Jeroen

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    Oct 29, 2014 @ 13:40
    Markus Johansson
    0

    Hi!

    Just looking at the code and this catch-statment could probably catch more than just SMTP-errors. Are all the email addresses valid? Can you send using something like this? Does that work?

    MailMessage message = new MailMessage(newsletter.EmailFrom, sendTestEmailTo)
    {
     Subject = newsletter.EmailSubject,
     Body = renderEngine.RenderPreview(),
     IsBodyHtml = true
    };
    var smtpClient = new SmtpClient();
    smtpClient.Send(message);

    Are you getting the same error on both "real" send outs and on test emails?

    Could be permissions... Did you see any error during the install? 

    ?
     

  • Jeroen Ribbink 21 posts 50 karma points
    Oct 29, 2014 @ 13:50
    Jeroen Ribbink
    0

    Hi Markus,

    Thanks for responding quickly. Other mail function, like the example you provided, are working correctly.

    I get the error both while sending test and while sending out the real mail. During install I didn't have any errors.

    any suggestions? Maybe it is an idea to mail eachother about this, okay?

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    Oct 29, 2014 @ 13:54
    Markus Johansson
    0

    Hi!

    Great! Send me an email: markus [at sign goes here] enkelmedia.se

    I have some other ideas as well.

    / m 

  • Jeroen Ribbink 21 posts 50 karma points
    Oct 29, 2014 @ 15:50
    Jeroen Ribbink
    0

    I've sent you an email from Helpdesk Business Media.

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    Oct 29, 2014 @ 16:44
    Markus Johansson
    101

    Just if anyone else have the same issue with Newsletter Studio v2.1.0 here's the solution:

    It's related to the "Force sender defaults"-setting. First, with the  "Force sender defaults"-setting disabled. Start by creating a new newsletter and save that with empty fields for sender name and sender email and then after this change the  "Force sender defaults"-setting back to be active. This will hide the textboxes from the UI but the underlying data will still be two empty fields.

    BUT if you create a new newsletter the default sender email and sender name will be copied over to the new newsletter. 

    This issue will only occur on emails created before you change the "Force sender defaults"-setting.

    I will post this to our development backlog and try to add a validation-step that replaces the sender name/email before a send out is started. 

  • Jeroen Ribbink 21 posts 50 karma points
    Oct 29, 2014 @ 16:56
    Jeroen Ribbink
    0

    Thanks for responding so quickly. and thanks for adjusting my settings. If I understand you correctly, I can add new newsletter now safely without getting the error?

  • Jeroen Ribbink 21 posts 50 karma points
    Oct 29, 2014 @ 16:58
    Jeroen Ribbink
    0

    already got it. thanks

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    Oct 29, 2014 @ 17:02
    Markus Johansson
    0

    " I can add new newsletter now safely without getting the error?"

    Yes!

    The problem was that you added the first newsletter, saved that witout a sender and then used the "force sender default"-settings. 

    cheers!

    / m

  • keilo 568 posts 1023 karma points
    Dec 04, 2014 @ 09:20
    keilo
    0

    Just want to provide feedback that I too have came across the same issue on a new v7 installation with NS2.1, trying to make sense of it till I find this thread.

    Unchecking Force sender did the trick.

     

  • Markus Johansson 1918 posts 5785 karma points MVP c-trib
    Dec 04, 2014 @ 09:32
    Markus Johansson
    1

    Hi Keilo!

    Thank you for sharing this. We have this in the backlog and will address the issues in upcomming releases. 

Please Sign in or register to post replies

Write your reply to:

Draft