Copied to clipboard

Flag this post as spam?

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


  • Giovanni Sidoel 94 posts 233 karma points
    Jan 24, 2012 @ 17:08
    Giovanni Sidoel
    0

    Connecting to SMTP host

    Hi i'm just testing out your package for a new project and ran into an issue. In Settings I'm trying to setup the smtp host. But I cannot for the life of me get it to connect. My incoming and outgoing mailserver have the same address (mail.mydomainname.sr). Don't know if that's causing the issue.
    However the connection to the incoming mailserver works just fine. Any thoughts?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 24, 2012 @ 18:57
    Markus Johansson
    0

    Hi Giovanni!

    Thanks for trying tha package, I can tell you that there is a huge update comming in a couple of weeks with a lot of highly requested features. The the concept will stay the same.

    About your problem. Are you trying the package locally? Many ISP (internet service providers) are blocking port 25, are you sure that you have access to that port for outgoing traffic? If the port is blocked most ISPs will have theire own smtp that you can use.

    Are you using any authorization or SSL? Do you get any errors?

  • Giovanni Sidoel 94 posts 233 karma points
    Jan 24, 2012 @ 19:26
    Giovanni Sidoel
    0

    Markus i'm using the same settings for the outgoing server  as in my web.config for sending regular mail (i.e contact form; Although in web.config no port is specified). That works just fine. It's also the settings I have configured in Outlook (I'm using my personal mail for testing) so I'm sure I have access. Yes I'm using authorization. Have also tried without. I've tried using port 587. No Luck.

    The only error I get is the one generated by the connection tester. It says:

    Could not connect. Please check settings and credentials. Error message: Server not found. Could not connect.

     

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 24, 2012 @ 22:51
    Markus Johansson
    0

    Hi again!
    Good! This looks strage. So you are 100% sure that you can send emails from the server with ASP.NET but the connection with NewsletterStudio dosen't work? Are all apps hosted on the same sever? Are you using port 25? How long does the application "work" before showing the error? Could it be that the testers timeout is to fast so that the servers don't have time to anwser?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 24, 2012 @ 22:56
    Markus Johansson
    0

    I think I managed to produce the same problem here. If you keep the same settings and click on test connection multiple times (2-5), will that enable the connection?

  • Giovanni Sidoel 94 posts 233 karma points
    Jan 25, 2012 @ 02:29
    Giovanni Sidoel
    0

    Markus, yes all apps are on the same local development server. All using the same remote smtp host.

    I'd say it tries to connect for about 2-3 seconds before it shows the result.

    Glad to hear you've managed to reproduce the problem. But clicking multiple times hasn't worked for me :(.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 25, 2012 @ 05:48
    Markus Johansson
    0

    Hi again Giovanni!
    We'll have a closer look at this during the day! Do you know if your SMTP are using "auth plain" or "auth login" for authorization? Could be found using telnet.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 25, 2012 @ 06:50
    Markus Johansson
    0

    Giovanni, I think we have solved the issue, could I send you a new dll to make sure that this soulves the issue? Please email me at markus [at sign here] enkelmedia.se.

  • Giovanni Sidoel 94 posts 233 karma points
    Jan 25, 2012 @ 13:54
    Giovanni Sidoel
    0

    The updates worked like a charm! Thanks.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 25, 2012 @ 13:58
    Markus Johansson
    0

    Great! The new version is already uploaded to the package repository and downloadable here: http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio

  • Dumitru Chirutac 6 posts 25 karma points
    Jan 26, 2012 @ 17:16
    Dumitru Chirutac
    0

    Hi Markus

    With the new version I get the same error:

    I have the same configuration in web.config and works great.

    Thanks!!!

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 26, 2012 @ 18:21
    Markus Johansson
    0

    Hi!

    I think that the problems are caused by the fact that the "connection tester" seems to lack in the support of SSL. Meaing that the accual sending will work but not the connection-tests.

    We're gonna provide you with a fix to bypass the test asap. I think we're going to have to drop or rewrite the "test-feature" for the next release.

    I'll keep you posted. Could you send me a email so that I can provide you with som test dlls? markus [at sign] enkelmedia.se.

    // Markus

  • Dumitru Chirutac 6 posts 25 karma points
    Jan 26, 2012 @ 18:45
    Dumitru Chirutac
    0

    Just another note which might help fix this issue: I've successfully sent out a "test email" using gmail's TLS/SSL service, but it fails when I try to "Send the newsletter now", the same way it did when it was testing the correct SMTP configuration.

    Thanks!

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 26, 2012 @ 18:48
    Markus Johansson
    0

    Great feedback!

    The "tester" is not used when sending a single test mail, its just used before a batch. That's why. We are looking for solution right now. I think that you can count on a fix later on today.

    / Markus

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 26, 2012 @ 20:19
    Markus Johansson
    0

    Hi again Dumitru!

    I've had a closer look at the component used for testing the smtps and decided to swap it for another thats a little bit slower, but much more reliable. The new version is uploaded to the project page: http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio.

    If you dont want to reinstall, just replace NewsletterStudio.dll in the /bin/ and "Settings.aspx" in /umbraco/newsletterstudio/pages/ with the new one.

    Please let me know if this solves your issues!

    All the best!

    // Markus

  • Dumitru Chirutac 6 posts 25 karma points
    Jan 27, 2012 @ 11:31
    Dumitru Chirutac
    0

    Hi Markus!

    I tested version 1.1.2 and  it works great, but I would like to confirm the following:

    1) When I was testing the "Newsletters Studio" tokens, I noticed that the token [name] was being replaced by umbraco's Member.Login attribute. Is this the correct behavior, or am I misinterpreting something?

    2) Would it be possible to extend the available tokens so I can include more Member.* attributes in the newsletter? (i.e.: more than just the 4 available tokens) 

    3) API access - Can we programmatically instance newsletters and send them out, without using the backoffice? This would be very nice, as we need to build custom server generated reports to our members.

    We appreciate all of your support in this matter - Thanks!

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 27, 2012 @ 15:21
    Markus Johansson
    0

    Hi Dumitru!

    Nice to hear that this fixed your problems!

    1) Yes, it accualy depends. If you are using the "Enable Umbraco Member Newsletter Property" the real .Text-proparty will be used and otherwise the "UserName"-property of the UmbracoMembershipProvider. Sounds like some strange thing that we have missed out. It shuld probably be the ".Text"-property in both cases?

    2) Yes. In the up comming release we introcude something called RenderTasks. Its a small class with 3 methods that are used in the rendering procces so that you could swap out tasks and insert your own. I other words, you could add a tag like this to the message body: [dumitru:hallo], and then implement a new render task to replace that tag with something, values from umbraco, webservice resualts, a webpage, a database-value - what ever.

    3) That's not something that we have planned for at the moment but it could probably be added to the roadmap. Is this some feature to send a uniq email to one user? Could you describe your requirements a little closer?

  • Dumitru Chirutac 6 posts 25 karma points
    Jan 27, 2012 @ 16:01
    Dumitru Chirutac
    0

    3) API access - Can we programmatically instance newsletters and send them out, without using the backoffice? This would be very nice, as we need to build custom server generated reports to our members.

    your answer: That's not something that we have planned for at the moment but it could probably be added to the roadmap. Is this some feature to send a uniq email to one user? Could you describe your requirements a little closer?
     

    Our requirements are as follows: We have scheduled a weekly task that generates a couple of distinct server reports. These reports vary both in quantity (e.g.: in one week there are 2 reports to be sent out, in the following there are 3, then there are none) and in the message's recipient list (e.g.: report1 is sent to group1, report2 is sent to group2).

    Because of all these variables, we need to add these newsletters programmatically (since it's A LOT easier and automatic) and later on review these messages and the associated analytics.

    Thanks :)

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 27, 2012 @ 16:11
    Markus Johansson
    0

    Okey, so there are multiple recipients for each report? And the reports are automaticly generated at a specific time? One thing that we are planing to add is support for macros (and to add external resources like a webpage-url to be rendered into the content). But from what i understand you would like your scheduled reports to "push the send button"?

    I can image that this could be done using a scheduled mail out.Some thing like this:
    - Create a newsletter
    - Add stuff, body etc
    - Set subscribers
    - Schedule the send out to be done in like 10 mins

    Would that be useful?

    // Markus

  • Dumitru Chirutac 6 posts 25 karma points
    Jan 27, 2012 @ 16:41
    Dumitru Chirutac
    0

    Yes, the solutions you mentioned are already in use in our custom applications (namely, external webpage-url as a source) but we came to understand that it is not possible to invoke an Umbraco macro in your newsletter.

    The flow you presented is what we need to do in code - Scheduling to send out in 10 mins would be perfectly reasonable. 

    Thanks again

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jan 27, 2012 @ 16:46
    Markus Johansson
    0

    Hi!

    No the extarnal "webpage-url as source"-thing will be included in the next major release. That's 1-2 weeks from now. We haven't planed for the changes to the API but that could probably be done. Worst case, dirty solution, would be to make your code talkt direct to the database.

    About the other problems:

    A new hotfix "1.1.3" is up here http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio. News is that the members name (the memberObject.Text) is used to replace the [name]-tag when using the umbraco members as lists.

    It also contains improvments with relative urls pointing to the mediasection. If you don't want to reinstall just replace NewsletterStudio.dll and all files in /pages/.

    // M

  • J. Vítor Ferreira 8 posts 28 karma points
    Jul 24, 2012 @ 16:32
    J. Vítor Ferreira
    0

    Hi there,

    I'm trying to test and evaluate the newsletter studio package that I consider very atractive, but unfortunely mails are not outgoing. It seems to me doesn't save my configuration, because when I return to form settings it assumes localhost again.

    Here are the displayed errors when sending the newsletter.

    Could not connect to the SMTP-server with name "Smtp1". Please check your settings.
    Could not connect to the SMTP-server with name "NewServer1". Please check your settings.
    Could not connect to the SMTP-server with name "NewServer3". Please check your settings.

    Could you help me ?

    Best regards

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 24, 2012 @ 16:40
    Markus Johansson
    0

    Hi!

    Which version are you running? (Rightclick NewsletterStudio.dll and look in the properties).

    Looks like you got a lot of servers configured. Have you seen the dropdown that appears in the settings-section? Choose the severs and delete dem, then just use one server.

    The settings are saved to a config-file : /umbraco/newsletterstudio/web.config have a look in that file and se what happens. Are you using source control or something that overwrites that file?

  • J. Vítor Ferreira 8 posts 28 karma points
    Jul 24, 2012 @ 16:46
    J. Vítor Ferreira
    0

    Hi Markus,

    Thank you. Yes that is the reason, meanwhile I deleted all the others smtp servers and voila, it works.

    Regards

Please Sign in or register to post replies

Write your reply to:

Draft