UltraSimpleMailer2 Options
kalpa
Posted: Tuesday, July 03, 2007 12:45:53 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
Hi Anders and Jesper and thanks a lot for this sweet solution!!

I must agree about the Dialog app, that would be a nice solution...

I just tried the sending configuration "Html and text (Use propertyalias)" and despite that I had stated an existing Textbox Multiple as txt source property, the text part of the mail ,when viewed in Thunderbird, where made of stripped html with alt-attributes written out in clear text !? But in www.inbox.com's plain text view it where made up of the correct fields??

This isn't a problem when you assign a text property using the DotNetOpenMail lib, compare these two mail raw sources, the first is from your new MailerControl, and the second is from a custom .Net app I made this winter using DotNetOpenMail and assigning text and HTML properties.

The only spot on difference I can find is that the DotNetOpenMail generated one starts with the line "This is a multi-part message in MIME format." right beneath all the "X-" headers.... And that both the fields are base-64 encoded wia DotNetOpenMail...

MailControl with Text Property set to a Textbox Multiple:
Code:
----boundary_22_f7317107-689f-4825-855d-ab415c294fb4
content-type: multipart/alternative; boundary=--boundary_23_c4d7d003-b5f8-42e8-b503-772b85cc64db

----boundary_23_c4d7d003-b5f8-42e8-b503-772b85cc64db
content-type: text/plain; charset=utf-8
content-transfer-encoding: quoted-printable

TEST TEXT VERSION...

----boundary_23_c4d7d003-b5f8-42e8-b503-772b85cc64db
content-type: multipart/related;
boundary=--boundary_24_97a85b83-c7e5-4c89-bfca-0416a8867d30; type="text/html"

----boundary_24_97a85b83-c7e5-4c89-bfca-0416a8867d30
content-type: text/html; charset=utf-8
content-transfer-encoding: base64

PGltZyBzcmM9ImNpZDozM2FiNTk3Zi0wYThjLTQwYjctOGVlZi1mYzNlN2VhZDNmYmUiIGFs
dD0iIi8+CjxwPkgmYXVtbDtyIGtvbW1lciBldHQgbnloZXRzYnJldiBtZWQgZW4gYmlsZDo8
L3A+PHA+PGltZyBzcmM9ImNpZDpiMzYyNWJlNi1jMmE2LTQ2OGUtYjhjMC04ZjEyNzljMjQx
NWQiIHdpZHRoPSIzMDAiIGhlaWdodD0iMjAwIiBhbHQ9Im1pc3Npb24taWxsdXN0cmF0aW9u
LmpwZyIvPiA8L3A+PHA+Jm5ic3A7PC9wPjxwPiZuYnNwOzwvcD4=

----boundary_24_97a85b83-c7e5-4c89-bfca-0416a8867d30
content-type: image/jpeg
content-transfer-encoding: base64
content-id: <33ab597f-0a8c-40b7-8eef-fc3e7ead3fbe>
[snip]


DotNetOpenMail:
Code:
This is a multi-part message in MIME format.

--_=DotNetOpenMail=_icp4lnsyj2odnxo5vulua3saox1bjofcosy2
Content-Type: multipart/alternative;
       boundary="_=DotNetOpenMail=_hwiz4itc440iwdosgrijhiodrovgcukjlkkw"

--_=DotNetOpenMail=_hwiz4itc440iwdosgrijhiodrovgcukjlkkw
Content-Type: text/plain;
       charset="iso-8859-1"
Content-Transfer-Encoding: base64

KioqIERpbiBs9nNlbm9yZHNw5W1pbm5lbHNlIGZy5W4gaHR0cDovL2Jva2Fsa3lsZW4uZ290
ZWJvcmcuc2UvP2xpbms9cmVtaW5kZXIgKioqKg0KSGVqIQ0KDQpEZXR0YSDkciBlbiBw5W1p
bm5lbHNlIG9tIGRpdHQgbPZzZW5vcmQgZHUgYW5nYXYgZOUgZHUgcmVnaXN0cmVyYWRlIGRp
ZyBw5SBLb25zdW1lbnQgR/Z0ZWJvcmdzIEJvS2Fsa3lsZW4NCg0KRGl0dCBs9nNlbm9yZCDk
cjogNjAwMQ0KDQpCb0thbGt5bGVuIORyIGV0dCBwcm9ncmFtIGTkciBkdSBlbmtlbHQga2Fu
IGf2cmEgZW4gYm9lbmRla29zdG5hZHNrYWxreWwgZvZyIGV0dCBodXMgZWxsZXIgZW4gYm9z
dGFkc3LkdHQsIA0KdGFua2VuIORyIGF0dCBkdSBza2FsbCBm5SBlbiBz5SByZWFsaXN0aXNr
IGJpbGQgc29tIG32amxpZ3QgYXYga29zdG5hZGVybmEgDQpzYW10IGF0dCBkdSBoaXR0YXIg
dmlrdGlnIGluZm9ybWF0aW9uIG9tIGF0dCBr9nBhIGJvc3RhZC4NCg0KSSBCb0thbGt5bGVu
IGthbiBkdSBibC5hOg0KICAgKiBG5SB1dGb2cmxpZyBpbmZvcm1hdGlvbiBrcmluZyBteWNr
ZXQgc29tIGJlcvZyIGJvc3RhZHNr9nAuDQogICAqIEJlcuRrbmEgZGUgZmxlc3RhIGtvc3Ru
YWRlciBzb20gbOVuLCBhbW9ydGVyaW5nLCBkcmlmdCBldi4gc2thdHQgZXRjLg0KICAgKiBS
ZWdpc3RyZXJhIGRpZyBvY2ggc3BhcmEgZGluYSBrYWxreWxlciBz5SBkZXQgYmxpciBlbmtl
bHQgYXR0IGrkbWb2cmEgb2xpa2Egb2JqZWt0Lg0KICAgKiBTa2lja2EgZGluYSBrYWxreWxl
ciB2aWRhcmUgdGlsbCBhbmRyYSB2aWEgZS1wb3N0Lg0KDQpM5G5rIHRpbGwgS29uc3VtZW50
IEf2dGVib3JncyB3ZWJicGxhdHM6IGh0dHA6Ly93d3cua29uc3VtZW50LmdvdGVib3JnLnNl
DQoNCktvbnN1bWVudCBH9nRlYm9yZyDkciBlbiBrb21tdW5hbCBm9nJ2YWx0bmluZyB2YXJz
IGZy5G1zdGEgdXBwZ2lmdCDkciBhdHQgdGEgdGlsbHZhcmEga29uc3VtZW50ZXJuYXMgaW50
cmVzc2VuLiANClZpIGdlciBrb3N0bmFkc2ZyaSBy5WRnaXZuaW5nIHRpbGwgZGlnIHNvbSBi
b3IgaSBrb21tdW5lcm5hIEf2dGVib3JnLCBBbGUsIFBhcnRpbGxlIGVsbGVyINZja2Vy9i4N
Cg0KQm9LYWxreWxlbiDkciBmcmFtdGFnZW4gYXYgS29uc3VtZW50IEf2dGVib3JnIGkgc2Ft
YXJiZXRlIG1lZCBNYW5kYXRvciAoaHR0cDovL3d3dy5tYW5kYXRvci5zZSkuDQo=

--_=DotNetOpenMail=_hwiz4itc440iwdosgrijhiodrovgcukjlkkw
Content-Type: text/html;
       charset="iso-8859-1"
Content-Transfer-Encoding: base64

[snip]



And for the feature requests ; ):

What if...
...you could specify member groups and/or property filters for each document before you send? Instead of having to create a new datatype for each send option?

...you could make it harder to (by accident) send the same newsletter twice by adding a "Message sent at: YYYY-MM-DD, HH:mm" field with a "resend" button.

// ; ) Kalle





" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
duckie
Posted: Tuesday, July 03, 2007 1:17:39 PM
Rank: Devotee

Joined: 8/14/2006
Posts: 212
Kalle Wibeck wrote:

What if...
...you could specify member groups and/or property filters for each document before you send? Instead of having to create a new datatype for each send option?

...you could make it harder to (by accident) send the same newsletter twice by adding a "Message sent at: YYYY-MM-DD, HH:mm" field with a "resend" button.


Thanks for the feedback! :D

I know there are some quirks with text/html, i'll look into it later today! :)

About the first one. Yes, i considered that, and it would be quite easy actually.. But you would need to set it for each newsletter you create. If that is allright, i could add that feature when i got some more time.. I think its best to finish what we got now, and get up on codeplex (either in the official build, or in umbracoext). Then you can mess with it so much you want ;)

Signatures suck. No reason to have one.
duckie
Posted: Tuesday, July 03, 2007 1:18:30 PM
Rank: Devotee

Joined: 8/14/2006
Posts: 212
And the last part, yes, great idea. Will add that asap

Signatures suck. No reason to have one.
kalpa
Posted: Tuesday, July 03, 2007 2:39:27 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
Sounds great that you will add the "Resend" feature ASAP, but hey! don't forget to enjoy the summer sun!! (what summer!? Rain, rain, rain over Scandinavia)

Anyway...
When it comes to the "inconvenience" of having to select groups or property filter for each created mail I see that more as a blessing, cause with this option (true/false in the datatype settings?) I can use the NewsLetter functionality as a Mailing engine in a more flexible way...

For the purpose of keeping functionality could it be possible to use both a predefined one (datatype setting) and a specified per message one like this?

Choose to send to a single user, or to send to a group of members
( ) Send to single member
( ) Send to prefined members
(x) Send to members specified below

[Insert a form similar to the one in the datatype settings, perhaps spiced up with a multi selector for user groups instead of the dropdown...]

But when I think of it, it seems a bit off to force end-users to enter the filter syntax themselves... But Iwould love that feature ;)

; ) Kalle


" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
duckie
Posted: Tuesday, July 03, 2007 3:04:52 PM
Rank: Devotee

Joined: 8/14/2006
Posts: 212
Kalle Wibeck wrote:

Sounds great that you will add the "Resend" feature ASAP, but hey! don't forget to enjoy the summer sun!! (what summer!? Rain, rain, rain over Scandinavia)


I dont know summer. Only winter and autumn :thumbdown:

Kalle Wibeck wrote:

When it comes to the "inconvenience" of having to select groups or property filter for each created mail I see that more as a blessing, cause with this option (true/false in the datatype settings?) I can use the NewsLetter functionality as a Mailing engine in a more flexible way...


You are really complicating things for me :D

Nevertheless, ill try to put things in. So you only need the membergroup(s), and filter (guess i have to persist what radio-button is selected too)?

Kalle Wibeck wrote:

For the purpose of keeping functionality could it be possible to use both a predefined one (datatype setting) and a specified per message one like this?

Choose to send to a single user, or to send to a group of members
( ) Send to single member
( ) Send to prefined members
(x) Send to members specified below


Ill see if i can make the form look like that (why are custom controls to boring to make? :( ).

Kalle Wibeck wrote:

[Insert a form similar to the one in the datatype settings, perhaps spiced up with a multi selector for user groups instead of the dropdown...]
But when I think of it, it seems a bit off to force end-users to enter the filter syntax themselves... But Iwould love that feature ;)


Yeah, i would need to build a special control to edit the filter (the syntax is directly saved in the database. Its the raw format).

Now, ease on the features, i need to finish this ;)


Signatures suck. No reason to have one.
kalpa
Posted: Tuesday, July 03, 2007 3:10:18 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
AndersM wrote:

Now, ease on the features, i need to finish this ;)


Sorry, I just can't stop myself when I see possible enhancements :D

I promise I won't reply to this thread anymore today ;)

// ; ) Kalle



" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
duckie
Posted: Tuesday, July 03, 2007 9:27:13 PM
Rank: Devotee

Joined: 8/14/2006
Posts: 212
I added the old control to the new project
http://codeplex.com/dialog

I am currently implementing a library for use in usercontrols and in xslt

Download the source, while its still fresh!

If anyone who wants to get access to the repository, just write in the codeplex forum :w00t:

Signatures suck. No reason to have one.
kalpa
Posted: Tuesday, July 03, 2007 9:51:15 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
AFAIK See theres no public info at all there yet I just see a page that says:

Dialog for Umbraco
This project is not yet published
If you are a coordinator or developer on this project, please sign in to access the project.

// Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
hartvig
Posted: Tuesday, July 03, 2007 9:56:28 PM

Rank: Addict

Joined: 3/17/2008
Posts: 733
Location: Nyborg, Denmark
@Anders: You rock - I forgot to tell you that at my fast reply
@SørenS: I'll get back to you on stats - there's a lot of stuff that needs to be done for v2 anyway.

(I'm trying to take a week break - but just can't keep my hands away from the forum. Been away for too long and so much great stuff is happening :o))

Love,
niels...

Jeeeez, did I really start this :-)
duckie
Posted: Tuesday, July 03, 2007 10:00:47 PM
Rank: Devotee

Joined: 8/14/2006
Posts: 212
Kalle Wibeck wrote:

AFAIK See theres no public info at all there yet I just see a page that says:


Forgot to publish it :blush: .. its up and running now!

As i said, i added the old control i was building to the repository. Much easier to maintain for me then. I WILL make a public release, and some info on how to use it.

And thanks Niels. Now go back to having that vacation! :)

Signatures suck. No reason to have one.
kalpa
Posted: Tuesday, July 03, 2007 10:11:38 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
AndersM wrote:

Forgot to publish it :blush: .. its up and running now!


It's working! ; )

Hey! This is the eighth umbraco related project in CodePlex ; )


" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
tim
Posted: Thursday, July 05, 2007 3:45:43 PM

Rank: Fanatic

Joined: 2/19/2007
Posts: 482
Location: Belgium
Awesome work

Umbraco tips and tricks: http://www.nibble.be - certified level 1 & 2 professional
acullen
Posted: Monday, July 09, 2007 6:44:27 PM
Rank: Devotee

Joined: 4/13/2007
Posts: 55
Location: Arlington, VA
Ok, I've downloaded the code from codeplex.

:whistle:

Ummm, now what?
kalpa
Posted: Monday, July 09, 2007 11:35:25 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
Inside the folderstructure in the zip, you'll find a .umb file.

Install this from within the developer section by right clicking on the macro node and select import package and then browse to the .umb file you downloaded...

// Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
acullen
Posted: Wednesday, July 11, 2007 8:13:36 PM
Rank: Devotee

Joined: 4/13/2007
Posts: 55
Location: Arlington, VA
Hi, Kalle-

Sorry, I'm referring to the source code download available from codeplex (http://www.codeplex.com/dialog/SourceControl/ListDownloadableCommits.aspx). The zip file I get from there doesn't have any umb files. It's the source code (obviously :D ), but there aren't any instructions in there about what to do next....

(I did manage to grab the zip file via the link to Anders' site. If there's no additional functionality in the codeplex stuff, I guess I'm set. (Other than trying to figure out why my SMTP server stuff isn't working...)

Thanks!
kalpa
Posted: Wednesday, July 11, 2007 11:24:24 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
In the source there's a folder "package" look in there...

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
bootnumlock
Posted: Tuesday, July 24, 2007 10:03:47 PM

Rank: Fanatic

Joined: 10/9/2006
Posts: 317
okay, am i missing something in the source code? i cannot find a folder called package to get the umb???

any help would be great!

bootnumlock - aka bob baty-barr [http://www.baty-barr.com]
auchenberg
Posted: Friday, October 19, 2007 2:17:25 PM

Rank: Newbie

Joined: 1/19/2007
Posts: 5
Location: Copenhagen, Denmark
I'm receiving this error, when I'm trying to use the control:



The "Text-property" is set to "mailText" which is the control that contains my text...

How the he** should I use this control?



mullog
Posted: Friday, October 19, 2007 4:37:44 PM

Rank: Devotee

Joined: 7/20/2006
Posts: 75
Am I missing something. I cant find the project on codeplex!!

Gisli

"We come from the land of the ice and snow, From the midnight sun where the hot springs blow"
nec
Posted: Wednesday, October 24, 2007 12:00:20 PM
Rank: Enthusiast

Joined: 9/5/2006
Posts: 28
I cant find either the .zip above nor the project at Codeplex.
What happened to this control?
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.