More in this section
Forums / Developing with Sitefinity / Problem sending newsletter

Problem sending newsletter

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Luc Baeten
    Luc Baeten avatar
    169 posts
    23 Sep 2005
    11 Sep 2010
    Link to this post
    Hello Sitefinity team

    In a website of a customer newsletters should be sent to 360 subscribers. However when they are sending the news letter the following error is created in the sitefinity.log:

    ID: 8abbd285-4b99-4683-ad0e-4e2fbce3d27f; Code: 3001; Occurrence: 1; Sequence: 612
    Application information:
        Machine name:
        OS Version: Microsoft Windows NT 5.2.3790 Service Pack 2
        Product Version: 3.7.2096.1
        Application Path: D:\Inetpub\<website>\
        Debug: False
    Process information:
        Process ID: 3948
        Process Name: w3wp
    Request information:
        Request URL: /Sitefinity/Admin/Services/MailingWebService.asmx?WSDL
        Url Referrer:   Is Authenticated: True
        Authentication Type: Forms
        User: ENVIO
        User Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.3603)
        User Address:
        WebServiceSoapVersion: Soap11
        RadControlRandomNumber: 0
        AspSessionIDManagerInitializeRequestCalled: True
        CmsHttpRequest: /Sitefinity/Admin/Services/MailingWebService.asmx?WSDL
    - L0 -------------------------------------------------------------------------------
    Exception Type: System.Web.HttpException
    Message: Request timed out.
    Stack Trace:

    The send process stuck at a specific percentage. A couple of subscribers have received the newsletter, others don't.
    I checked the firstname, lastname and email addresses and they were all defined correctly.

    So I tried the test script I found on your site:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Telerik.Notifications.Newsletters;
    using Telerik.Newsletters;
    using Telerik.Notifications.Common;
    public partial class SendTestNewsLetter : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
                DataManager manager = new DataManager();
                INewsletter newsletter = manager.CreateNewsletter();
                newsletter.SenderName = "NewsLetter mailer";
                newsletter.SenderMail = "";
                string defaultHostEmail = "";
                List<string> toList = new List<string>();
                string email = "Luc Baeten <>";
                newsletter.Content = "test";
                newsletter.Subject = "test";
                ISMTPSetting smtpSetting = manager.GetActiveSMTPSetting();
                lblError.Text += "<br>Host:" + smtpSetting.Host;
                lblError.Text += "<br>Port:" + smtpSetting.Port.ToString();
                lblError.Text += "<br>Username:" + smtpSetting.Username;
                lblError.Text += "<br>Password:" + smtpSetting.Password;
                lblError.Text += "<br>SSL:" + smtpSetting.SSL.ToString();
                Telerik.Notifications.Services.MailingServiceProxy emailServices = new Telerik.Notifications.Services.MailingServiceProxy();
                               newsletter.SenderName, newsletter.SenderMail,
                               defaultHostEmail, toList.ToArray(), newsletter.Content,
                               newsletter.Subject, smtpSetting.Host, smtpSetting.Port,
                               new CryptographyHandler().DecryptText(smtpSetting.Password), smtpSetting.SSL);
                lblError.Text += "<br>NewsLetter sent";
            catch (Exception ex)
                lblError.Text += ex.Message;

    This test script worked fine on our development server. I got the newsletter directly.
    On the production server the script works fine although I never receive the newsletter?? However in Sitefinity I could see that the test newsletter was created in the Sent() list of newsletters. When I opend the Test newsletter and send it again via the hyperlink 'Send as test mail" I got the newsletter.

    Have you any idea what could be the reason that the send process of the newsletter stuck and why is the newsletter not directly sent to my email address on the production server?

    Kind regards
    Luc Baeten
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    12 Sep 2010
    Link to this post
    Hi Luc Baeten,

    Try increasing maxRequestLength value in the web.config to prevent timeout error. Sitefinity's Newsletters module uses SmtpClient class to send messages. The problem could be if something blocks the web service that we use for sending or your SMTP server has rejected the mails.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered