Hi guys,
I've made a simple wrapper around the Postmark API. It lets you send emails without dealing with a SMTP server. You can read about it here: http://developer.postmarkapp.com/developer-libs.html http://developer.postmarkapp.com/developer-build.html and there: http://articles.tulipemoutarde.be/send-email-from-pharo-with-postmark It's pretty simple and naive implementation but it gets the job done. I'll add email attachements when I will need it. Francois |
CONTENTS DELETED
The author has deleted this message.
|
can you tell us from where you are trying to load the package and how
do you use the configuration? stef On Aug 30, 2013, at 12:05 AM, vmusulainen <[hidden email]> wrote: > Hi! > > Thanks you for great job! > > I try use package at pharo 2.0 but I get warning about dependency from > JsonObject class. > > Which package consists this class? > > P.S. Gofer configuration cannot load package because absent version with > marked by stable. > > > > > > -- > View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705706.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
CONTENTS DELETED
The author has deleted this message.
|
On Aug 30, 2013, at 9:45 AM, vmusulainen <[hidden email]> wrote: > Sure! > > I use pharo 2.0 (21.0) > > Attempt 1. > > Use http://ss3.gemstone.com/ss/postmark.html at "Getting the code/Gofer" > > Gofer new > repository: 'http://ss3.gemstone.com/ss/postmark'; > package: 'ConfigurationOfPostMark'; > package: 'PostMark-Core'; > package: 'PostMark-Tests'; > load this is the configurationOfPostmark that have the responsibility of loading the other packages and projects it needs. I will try to have a look but on Smalltalkhub Stef > > DoIt at workspace > > Result: Expection "ByteString doesNotUnderstand: #goferReferences" > > Attempt 2. > > Use http://ss3.gemstone.com/ss/postmark.html at "Getting the code/Monticello > Registration" > Add repository => select package "PostMark-Core-FrancoisStephany.11", press > "Load" > > Result: > "This package depends on the following classes: > JsonObject > You must resolve these dependencies before you will be able to load these > definitions: > PMEmail > addAttachment:content:contentType: > addAttachmentAndCompress:archiveName: > attachAndCompressFile: > attachFile: > > Select Proceed to continue, or close this window to cancel the operation." > > Attempt 3. > see http://ss3.gemstone.com/ss/postmark.html/Wiki > > Gofer it > url: 'http://ss3.gemstone.com/ss/postmark'; > package: 'ConfigurationOfPostMark'; > load. > (Smalltalk at: #ConfigurationOfPostMark) project stableVersion load. > > DoIt at workspace > > Result: "The symbolic version #stable is not defined in > ConfigurationOfPostMark for the current platform." > > > > -- > View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705729.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
I did not get a minute to look at it.
Did you try on your side? Stef On Aug 30, 2013, at 1:51 PM, Stéphane Ducasse <[hidden email]> wrote: > > On Aug 30, 2013, at 9:45 AM, vmusulainen <[hidden email]> wrote: > >> Sure! >> >> I use pharo 2.0 (21.0) >> >> Attempt 1. >> >> Use http://ss3.gemstone.com/ss/postmark.html at "Getting the code/Gofer" >> >> Gofer new >> repository: 'http://ss3.gemstone.com/ss/postmark'; >> package: 'ConfigurationOfPostMark'; >> package: 'PostMark-Core'; >> package: 'PostMark-Tests'; >> load > > this is the configurationOfPostmark that have the responsibility of loading the other packages and projects it needs. > I will try to have a look but on Smalltalkhub > > Stef > >> >> DoIt at workspace >> >> Result: Expection "ByteString doesNotUnderstand: #goferReferences" >> >> Attempt 2. >> >> Use http://ss3.gemstone.com/ss/postmark.html at "Getting the code/Monticello >> Registration" >> Add repository => select package "PostMark-Core-FrancoisStephany.11", press >> "Load" >> >> Result: >> "This package depends on the following classes: >> JsonObject >> You must resolve these dependencies before you will be able to load these >> definitions: >> PMEmail >> addAttachment:content:contentType: >> addAttachmentAndCompress:archiveName: >> attachAndCompressFile: >> attachFile: >> >> Select Proceed to continue, or close this window to cancel the operation." >> >> Attempt 3. >> see http://ss3.gemstone.com/ss/postmark.html/Wiki >> >> Gofer it >> url: 'http://ss3.gemstone.com/ss/postmark'; >> package: 'ConfigurationOfPostMark'; >> load. >> (Smalltalk at: #ConfigurationOfPostMark) project stableVersion load. >> >> DoIt at workspace >> >> Result: "The symbolic version #stable is not defined in >> ConfigurationOfPostMark for the current platform." >> >> >> >> -- >> View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705729.html >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >> > > |
CONTENTS DELETED
The author has deleted this message.
|
I will give a try later.
And see how we can fix it. Did you try to load the JSON configuration first? Stef On Aug 31, 2013, at 9:47 AM, vmusulainen <[hidden email]> wrote: > I try loading from smalltalkhub.com with same results. > > Ant at smalltalkhub.com wrong link to external site > (http://articles.tulipemoutarde.be/send-email-from-pharo-with-postmark) - > wrong > http://tulipemoutarde.be/2011/12/29/send-email-from-pharo-with-postmark.html > - right > > > > -- > View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705887.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
On Aug 31, 2013, at 11:14 AM, Stéphane Ducasse <[hidden email]> wrote: > I will give a try later. > And see how we can fix it. > Did you try to load the JSON configuration first? > We are using PostMark in the ESUG registration app… so it should work. You need to load JSON, though. (we should update the config) Postmark is actually *very* *very* interesting for sending mail… you outsource all the haste of being blacklisted and things like that. The downside is that it costs money: $1.50 per 10.000 mails. > Stef > > On Aug 31, 2013, at 9:47 AM, vmusulainen <[hidden email]> wrote: > >> I try loading from smalltalkhub.com with same results. >> >> Ant at smalltalkhub.com wrong link to external site >> (http://articles.tulipemoutarde.be/send-email-from-pharo-with-postmark) - >> wrong >> http://tulipemoutarde.be/2011/12/29/send-email-from-pharo-with-postmark.html >> - right >> >> >> >> -- >> View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705887.html >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >> > > signature.asc (210 bytes) Download Attachment |
In reply to this post by Stéphane Ducasse
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by Marcus Denker-4
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by Marcus Denker-4
I will have a look and update the configuration.
On Aug 31, 2013, at 11:23 AM, Marcus Denker <[hidden email]> wrote: > > On Aug 31, 2013, at 11:14 AM, Stéphane Ducasse <[hidden email]> wrote: > >> I will give a try later. >> And see how we can fix it. >> Did you try to load the JSON configuration first? >> > > We are using PostMark in the ESUG registration app… so it should work. > > You need to load JSON, though. > > (we should update the config) > > Postmark is actually *very* *very* interesting for sending mail… you outsource > all the haste of being blacklisted and things like that. > > The downside is that it costs money: $1.50 per 10.000 mails. > >> Stef >> >> On Aug 31, 2013, at 9:47 AM, vmusulainen <[hidden email]> wrote: >> >>> I try loading from smalltalkhub.com with same results. >>> >>> Ant at smalltalkhub.com wrong link to external site >>> (http://articles.tulipemoutarde.be/send-email-from-pharo-with-postmark) - >>> wrong >>> http://tulipemoutarde.be/2011/12/29/send-email-from-pharo-with-postmark.html >>> - right >>> >>> >>> >>> -- >>> View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705887.html >>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >>> >> >> > |
In reply to this post by vmusulainen-2
> Stéphane Ducasse wrote >> Did you try to load the JSON configuration first? > > Yep, but which package consist need classes? I ask it at first post. > > > Wow, I found JSON package at smalltalkhub.com. > > I first load JSON package from smalltalkhub.com and postmark package > successfully loaded. > Good, thank you. I will fix the configruation and ask you to try. > > I resume my notes: > > 1. Wrong reference to external site with example of usage postmark > http://articles.tulipemoutarde.be/send-email-from-pharo-with-postmark - > incorrect > http://tulipemoutarde.be/2011/12/29/send-email-from-pharo-with-postmark.html > - correct > > 2. At smalltalkhub.com exists two projects > a. PharoExtras/Postmark - correct project with packages > b. PharoExtras/postmark - emp[ty project without packages > > I understand that you have little time, can I do something to help fix it? of Pharo By example two (deep into pharo) so that next time you can manage/ maintain/extend the configruation of Postmark. I do not need postmark but I want it to be available for people. Now this is better if people needed it can take of what they use. Stef > > Vladimir Musulainen > > > > > -- > View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705900.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
CONTENTS DELETED
The author has deleted this message.
|
thanks!
misdeclaring dependencies is the source of future hell :) I just deleted the wrong repository and I'm having a look now. Stef On Aug 31, 2013, at 1:55 PM, vmusulainen <[hidden email]> wrote: > Stéphane Ducasse wrote >> I will fix the configruation and ask you to try. > > I found another dependency: > > Method PMInterface>>send: uses class GRPharoUtf8Codec. This class exists in > package "Grease-Pharo-Core" (Seaside framework). > > > > > > -- > View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705915.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Grease is handled by the configuration.
So this is already that :) > thanks! > misdeclaring dependencies is the source of future hell :) > I just deleted the wrong repository and I'm having a look now. > > Stef > > On Aug 31, 2013, at 1:55 PM, vmusulainen <[hidden email]> wrote: > >> Stéphane Ducasse wrote >>> I will fix the configruation and ask you to try. >> >> I found another dependency: >> >> Method PMInterface>>send: uses class GRPharoUtf8Codec. This class exists in >> package "Grease-Pharo-Core" (Seaside framework). >> >> >> >> >> >> -- >> View this message in context: http://forum.world.st/Postmark-email-library-tp4254680p4705915.html >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. >> > > |
So i worked and now can you try on a Pharo2.0 image the following
Gofer new repository: 'http://smalltalkhub.com/mc/PharoExtras/Postmark/main' ; package: 'ConfigurationOfPostMark'; load. (ConfigurationOfPostMark project version: '1.0') load: 'Tests' Stef |
CONTENTS DELETED
The author has deleted this message.
|
Gofer new Stef
|
CONTENTS DELETED
The author has deleted this message.
|
Free forum by Nabble | Edit this page |