SMTP via SSL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

jtuchel
Hi Julian,

not sure I saw it. How long has it been there?

Joachim

Am Mittwoch, 30. April 2014 03:03:43 UTC+2 schrieb Julian Ford:
Hello, Joachim.

Did you get my reply?
I just happened to look at the newsgroup, and see that my message was deleted for some reason.
Did you manage to see it before it was deleted?

Julian

On Monday, April 7, 2014 1:45:08 AM UTC-4, Joachim Tuchel wrote:
Julian,

great!
It would be very helpful if you could upload your updated version of EMan to vast goodies!
I don't use EMan but maybe your version can convince me to do so.

Joachim


Am Montag, 7. April 2014 02:07:55 UTC+2 schrieb Julian Ford:
Hello, Joachim.

I am using EMail in my application.
I took EMan from a while back, and have enhanced it to be able to handle SSL and HTML email.
It does the STARTTLS, and I have used it successfully with GMail, Sympatico, as well as non-SSL EMails.
I will happily share that with you, if that would be helpful.

I was planning on offering it up as a VAST Goody.

Let me know, and I will export the app, and send it along.

Best Regards,
Julian Ford

On Thursday, March 27, 2014 1:19:20 AM UTC-4, Joachim Tuchel wrote:
Doug,

It seems stunnel is not the right thing to do.
I am far from being an smtp expert, but it seems I need to implement STARTTLS, which inititiates an unencrypted connection and switcges to encrypted communication when the STARTTLS command was sent and agreed upon. So it seems I have to do sth on the client side.

Or does vast support STARTTLS?

Joachim

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

Marten Feldtmann-2
Obdobion, EMan-Runtime - RJF Version for 8.6

Thanks for the stuff ....

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

Julian Ford
In reply to this post by jtuchel
You would remember if you saw it.....I mentioned that I posted my EMan update to Goodies, and then provided some sample code to send an EMail using SSL.
I do not know why it was deleted...can I EMail you sample code directly?

In the meantime, I will try to post it again.

Regards,
Julian

On Wednesday, April 30, 2014 3:22:25 AM UTC-4, Joachim Tuchel wrote:
Hi Julian,

not sure I saw it. How long has it been there?

Joachim

Am Mittwoch, 30. April 2014 03:03:43 UTC+2 schrieb Julian Ford:
Hello, Joachim.

Did you get my reply?
I just happened to look at the newsgroup, and see that my message was deleted for some reason.
Did you manage to see it before it was deleted?

Julian

On Monday, April 7, 2014 1:45:08 AM UTC-4, Joachim Tuchel wrote:
Julian,

great!
It would be very helpful if you could upload your updated version of EMan to vast goodies!
I don't use EMan but maybe your version can convince me to do so.

Joachim


Am Montag, 7. April 2014 02:07:55 UTC+2 schrieb Julian Ford:
Hello, Joachim.

I am using EMail in my application.
I took EMan from a while back, and have enhanced it to be able to handle SSL and HTML email.
It does the STARTTLS, and I have used it successfully with GMail, Sympatico, as well as non-SSL EMails.
I will happily share that with you, if that would be helpful.

I was planning on offering it up as a VAST Goody.

Let me know, and I will export the app, and send it along.

Best Regards,
Julian Ford

On Thursday, March 27, 2014 1:19:20 AM UTC-4, Joachim Tuchel wrote:
Doug,

It seems stunnel is not the right thing to do.
I am far from being an smtp expert, but it seems I need to implement STARTTLS, which inititiates an unencrypted connection and switcges to encrypted communication when the STARTTLS command was sent and agreed upon. So it seems I have to do sth on the client side.

Or does vast support STARTTLS?

Joachim

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

Julian Ford
In reply to this post by Marten Feldtmann-2
You are most welcom, Marten.

I also posted some sample code on here, but my message got deleted for some reason.
I am going to try and post again....but if you would like me to send it to you dorectly, let me know.

Regards,
Julian

On Wednesday, April 30, 2014 5:04:02 AM UTC-4, Marten Feldtmann wrote:
Obdobion, EMan-Runtime - RJF Version for 8.6

Thanks for the stuff ....

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

Julian Ford
In reply to this post by jtuchel
Hello, Joachim.

I am sorry this was a long time coming, but if you look in VAST Goodies, you will see I have uploaded a new
version of the EMan Runtime map.  This will work on 8.5 as well as 8.6, and has support for SSL, but also
HTML EMails, BCC issues with Thunderbird and GMail (the BCC recipients were all seeing each other's EMail addresses,
since the original inplementation also included the BCC line in the message header, and SOME EMail clients show that),
and EMail accounts that require NONE for Auth.

The original Eman code is a little hard to look at, but it does seem to be quite solid, and I have used this framework within
my own product for several years now.

Just to give you a quick example (obviously I have built my own framework around EMan to simplify all of this further,
but this should give you an idea of what is basically required):

smtpManager := OcEMManager new
        smtpAuthentication: 'NONE';
        smtpRequiresSSL: true;
        smtpPort: 587;
        smtpHostName: 'smtp.gmail.com';
        smtpUserName: 'myUserName';
        smtpPassword: 'myPassword';
        returnAddress: '[hidden email]';
        hhmmFromGMT: '-0500';
        "auditTrail: Transcript;"
        yourself.

mailMessage := smtpManager newMessage
    from: 'My Name';
    to: '[hidden email]';
    subject: 'an EMail test';
    replyTo: '[hidden email]';
    useHtmlContent: false;
    setMessageToString: 'some EMail message';
    yourself.

carbonCopyList do: [ :string | mailMessage cc: string ].
blindCopyList do: [ :string | mailMessage bcc: string ].
attachments do: [ :fileName | message attachFile: fileName ].

mailMessage send.



If you have any questions at all, please let me know, and I will do my best to respond more quickly.

I hope this helps you!

Regards,
Julian

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

Julian Ford
In reply to this post by Julian Ford
I posted my message again....and it was deleted again.....did you manage to see it before it was deleted?

On Wednesday, April 30, 2014 8:51:04 AM UTC-4, Julian Ford wrote:
You would remember if you saw it.....I mentioned that I posted my EMan update to Goodies, and then provided some sample code to send an EMail using SSL.
I do not know why it was deleted...can I EMail you sample code directly?

In the meantime, I will try to post it again.

Regards,
Julian

On Wednesday, April 30, 2014 3:22:25 AM UTC-4, Joachim Tuchel wrote:
Hi Julian,

not sure I saw it. How long has it been there?

Joachim

Am Mittwoch, 30. April 2014 03:03:43 UTC+2 schrieb Julian Ford:
Hello, Joachim.

Did you get my reply?
I just happened to look at the newsgroup, and see that my message was deleted for some reason.
Did you manage to see it before it was deleted?

Julian

On Monday, April 7, 2014 1:45:08 AM UTC-4, Joachim Tuchel wrote:
Julian,

great!
It would be very helpful if you could upload your updated version of EMan to vast goodies!
I don't use EMan but maybe your version can convince me to do so.

Joachim


Am Montag, 7. April 2014 02:07:55 UTC+2 schrieb Julian Ford:
Hello, Joachim.

I am using EMail in my application.
I took EMan from a while back, and have enhanced it to be able to handle SSL and HTML email.
It does the STARTTLS, and I have used it successfully with GMail, Sympatico, as well as non-SSL EMails.
I will happily share that with you, if that would be helpful.

I was planning on offering it up as a VAST Goody.

Let me know, and I will export the app, and send it along.

Best Regards,
Julian Ford

On Thursday, March 27, 2014 1:19:20 AM UTC-4, Joachim Tuchel wrote:
Doug,

It seems stunnel is not the right thing to do.
I am far from being an smtp expert, but it seems I need to implement STARTTLS, which inititiates an unencrypted connection and switcges to encrypted communication when the STARTTLS command was sent and agreed upon. So it seems I have to do sth on the client side.

Or does vast support STARTTLS?

Joachim

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: SMTP via SSL

Julian Ford
In reply to this post by jtuchel
I posted my message again....and it was deleted again.....did you manage to see it before it was deleted?

On Wednesday, April 30, 2014 3:22:25 AM UTC-4, Joachim Tuchel wrote:
Hi Julian,

not sure I saw it. How long has it been there?

Joachim

Am Mittwoch, 30. April 2014 03:03:43 UTC+2 schrieb Julian Ford:
Hello, Joachim.

Did you get my reply?
I just happened to look at the newsgroup, and see that my message was deleted for some reason.
Did you manage to see it before it was deleted?

Julian

On Monday, April 7, 2014 1:45:08 AM UTC-4, Joachim Tuchel wrote:
Julian,

great!
It would be very helpful if you could upload your updated version of EMan to vast goodies!
I don't use EMan but maybe your version can convince me to do so.

Joachim


Am Montag, 7. April 2014 02:07:55 UTC+2 schrieb Julian Ford:
Hello, Joachim.

I am using EMail in my application.
I took EMan from a while back, and have enhanced it to be able to handle SSL and HTML email.
It does the STARTTLS, and I have used it successfully with GMail, Sympatico, as well as non-SSL EMails.
I will happily share that with you, if that would be helpful.

I was planning on offering it up as a VAST Goody.

Let me know, and I will export the app, and send it along.

Best Regards,
Julian Ford

On Thursday, March 27, 2014 1:19:20 AM UTC-4, Joachim Tuchel wrote:
Doug,

It seems stunnel is not the right thing to do.
I am far from being an smtp expert, but it seems I need to implement STARTTLS, which inititiates an unencrypted connection and switcges to encrypted communication when the STARTTLS command was sent and agreed upon. So it seems I have to do sth on the client side.

Or does vast support STARTTLS?

Joachim

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
12