|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
The old one had a lot of .. fastwritten code, making it hard to expand. So, after fixing and cleaning the code, i think the result is pretty good.
New features: * Membermerge (thanks to the nice code Jesper made, which i hope is ok i use?) * DotNetOpenMail removed, replaced with .Net 2.0 built-in MailMessage * Filtering! Now you can write what memberfield you want to filter on, and what value it has to have. For me specifying the membergroup was not enough, so my members now have a true/false sendNewsletter property. For now you only get one field, that should be enough for normal use. * Clients that cannot see html-emails should degrade gracefully, with the use of "AlternateViews", by stripping the htmltags.
If no one has any problems, i will commit the code to codeplex soon, and hopefully it will be included in 3.02! :-)
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
Oups, cut the head of my message:
I just spend 1½ days of my preciuos time, to work on the UltraSimpleMailer :w00t:
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
And the foot even! If you want the code, mail me: anders AT onlinesystems.dk
Signatures suck. No reason to have one.
|
|
 Rank: Administration
Joined: 7/25/2006 Posts: 401 Location: vipperød, denmark
|
AndersM wrote: The old one had a lot of .. fastwritten code, making it hard to expand. So, after fixing and cleaning the code, i think the result is pretty good.
New features: * Membermerge (thanks to the nice code Jesper made, which i hope is ok i use?) * DotNetOpenMail removed, replaced with .Net 2.0 built-in MailMessage * Filtering! Now you can write what memberfield you want to filter on, and what value it has to have. For me specifying the membergroup was not enough, so my members now have a true/false sendNewsletter property. For now you only get one field, that should be enough for normal use. * Clients that cannot see html-emails should degrade gracefully, with the use of "AlternateViews", by stripping the htmltags.
If no one has any problems, i will commit the code to codeplex soon, and hopefully it will be included in 3.02! :-)
Sure it's ok. In fact it's fantastic! Please give us a link to the good stuff. Oh - I've made a httpmodule that merge the same fields on the fly - which could be usefull if you provide a link to an online version of the newsletter. I actually use it on some intranet sites making it very easy to write personal pages to members. Maybe it would bundle nicely with this? Kindly, Jesper webbureau jesper.com doing webdesign / development / umbraco implementations / 2007&2008 MVP
|
|
 Rank: Fanatic
Joined: 10/9/2006 Posts: 317
|
the two of those together sound GREAT! any chance of something not in source code for us non-developer types :)???
bootnumlock - aka bob baty-barr [ http://www.baty-barr.com]
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
Jesper Ordrup wrote: Oh - I've made a httpmodule that merge the same fields on the fly - which could be usefull if you provide a link to an online version of the newsletter. I actually use it on some intranet sites making it very easy to write personal pages to members. Maybe it would bundle nicely with this?
That would be quite handy. My first thought is that a httpmodule just for that would be a bit overkill? A method in umbraco.library should do fine or?
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
After fixing the last bugs and testing it i will put the code on codeplex..
New feature: Instead of stripping the html, you can now specify a property in the same document, that contains the cleartext. I had to create that, because my templates included some css, and that wasnt stripped with the StripHtml function.
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
I am having some trouble getting AlternateView to work, so i am considering taking it out. For now i will let it stay in, and making a option so you can decide how to handle it.
Signatures suck. No reason to have one.
|
|
 Rank: Administration
Joined: 7/25/2006 Posts: 401 Location: vipperød, denmark
|
AndersM wrote: That would be quite handy. My first thought is that a httpmodule just for that would be a bit overkill? A method in umbraco.library should do fine or?
Yes it's true you an xstl method would be enough in most cases. Kindly, Jesper webbureau jesper.com doing webdesign / development / umbraco implementations / 2007&2008 MVP
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
Great..
The options for html/text mails will be:
Text only Html only Html and text (Strip html) Html and text (Use propertyalias)
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
I think i will implement multifilter using a syntax like: field1:value1,value2,value3|field2:value1
Just intil someone has the time to create a control to edit it
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
I think i will implement multifilter using a syntax like: field1:value1,value2,value3|field2:value1
Just intil someone has the time to create a control to edit it
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
Multifilters are done, working great.
Maybe not the nicest syntax, but it works: SendB2BNewsletter@1$Approved@1
Member must be approved, and wants to have my B2B newsletters!:w00t:
You dont anymore have to select a specific membergroup (i could make it possible to specify the groups that should have it..)!
I added a label, that tells how many members, the current configuration will send to!
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
If anyone wants to tests it, you can download it here: http://www.onlinesystems.dk/UltraSimpleMailer2.zipPlease report any bugs you find!
Signatures suck. No reason to have one.
|
|
 Rank: Fanatic
Joined: 7/25/2006 Posts: 356 Location: Silkeborg, Denmark
|
AndersM wrote: I added a label, that tells how many members, the current configuration will send to!
Are you writing the number of recipients of a newsletter to the log too (along with the node ID)? I've been missing this simple feature for quite some time now, it's needed so you you can make some propper newsletter statistics like open-rate, click-rate, conversion-rate etc. Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
I am considering creating a whole new library for this (when time is available), because this has much more potential than just some lame newsletters ;-)
Lets say a user registers on your website, and you would want to send him a welcome-email with his login-information!
Instead of wasting your time creating the email (using some homemade template-mechanism, or in-code text) and sending it manually in .net, you create and email-document (using your standart email-templates) in umbraco. Using the new mailing-library, you would just write something like this:
SendMemberEmail(emailDocumentId, member)
The email-document is then automatically rendered, membermerged and send!
What do you think? For me, that would save a lot of time!
Signatures suck. No reason to have one.
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
Soeren Sprogoe wrote: Are you writing the number of recipients of a newsletter to the log too (along with the node ID)?
Nope, but if you can tell me exacly how to add it to the log, i can easily do it :thumbup:
Signatures suck. No reason to have one.
|
|
 Rank: Fanatic
Joined: 7/25/2006 Posts: 356 Location: Silkeborg, Denmark
|
Try something like this: Code: umbraco.BusinessLogic.Log.Add(umbraco.BusinessLogic.LogTypes.System, 0, "UltraSimpleMailer send. NodeID:1234;Recipients:1234")
It should be possible to parse that information. In fact, I'm 5 minutes away from having an umbracoStats report ready for it :-) Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
|
|
 Rank: Administration
Joined: 7/25/2006 Posts: 401 Location: vipperød, denmark
|
AndersM wrote: I am considering creating a whole new library for this (when time is available), because this has much more potential than just some lame newsletters ;-)
Lets say a user registers on your website, and you would want to send him a welcome-email with his login-information!
Instead of wasting your time creating the email (using some homemade template-mechanism, or in-code text) and sending it manually in .net, you create and email-document (using your standart email-templates) in umbraco. Using the new mailing-library, you would just write something like this:
SendMemberEmail(emailDocumentId, member)
The email-document is then automatically rendered, membermerged and send!
What do you think? For me, that would save a lot of time!
Hi again, "SendMemberEmail(emailDocumentId, member)" could be done very quickly since it's just a matter of making your existing features available - right? I've just pulled up my notes on what I wanted to do with a later version of simplemailer. If some of the ideas can be of any use then cool. - Umbraco section "Dialog" containing newsletters OR restructure the Members Section. - Dashboard displaying a current activities, history, lastest members, link to stats. - Sending mails should be done via another thread and history should be saved in db. - Wash emails. Using a custom smtp server like Lumisofts opensource version (C#) or ? - umbracoStats reports ad libitum Kindly, Jesper webbureau jesper.com doing webdesign / development / umbraco implementations / 2007&2008 MVP
|
|
Rank: Devotee
Joined: 8/14/2006 Posts: 212
|
Jesper Ordrup wrote: "SendMemberEmail(emailDocumentId, member)" could be done very quickly since it's just a matter of making your existing features available - right?
Yes, it would be quite easy, but the mail would be registered as a newsletter currently, so some logic has to be changed anyways Jesper Ordrup wrote: - Umbraco section "Dialog" containing newsletters OR restructure the Members Section. - Dashboard displaying a current activities, history, lastest members, link to stats. - Sending mails should be done via another thread and history should be saved in db. - Wash emails. Using a custom smtp server like Lumisofts opensource version (C#) or ? - umbracoStats reports ad libitum
That was more or less exacly what i thinking about too :-) I will finalize what i have begun now, and then start from scratch, creating a "dialog"-section in the member-section. (if we pull this, it would be a huge feature for umbraco!)
Signatures suck. No reason to have one.
|
|
|
Guest |