Hello, is it possible to connect a ssl crypted smtp server like googlemail with MailHost? Thanks Ferhat
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 5. Dezember 2006 20:31:21 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
Hello,
is it possible to connect a ssl crypted smtp server like googlemail with MailHost?
Look at SecureMailHost which is part of Plone. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFdeF2CJIWIbr9KYwRApnEAKCeUb6MRgpCAEP8pMDN6BVwfZbtRQCePSyd kPP1MzfWm/HGRf0S8Go/DpQ= =dHz5 -----END PGP SIGNATURE-----
I've installed it. But there is no way to set user/password. At least I didn't found anyway. On Dec 5, 2006, at 10:15 PM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- --On 5. Dezember 2006 20:31:21 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
Hello,
is it possible to connect a ssl crypted smtp server like googlemail with MailHost?
Look at SecureMailHost which is part of Plone.
- -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFdeF2CJIWIbr9KYwRApnEAKCeUb6MRgpCAEP8pMDN6BVwfZbtRQCePSyd kPP1MzfWm/HGRf0S8Go/DpQ= =dHz5 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 5. Dezember 2006 22:18:09 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
I've installed it. But there is no way to set user/password. At least I didn't found anyway.
We don't believe that. The API tells you clearly that the constructors accepts a username and a password. Triple check yourself. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFdlQuCJIWIbr9KYwRAtM7AKCh8eUNgB1/6rauXeIXB4y8WqOfgQCfS4tF 62MPlv8vSqkoPjRk+/Ovn1c= =9ik5 -----END PGP SIGNATURE-----
Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After then you can configure user/ password. But this was not, what I was looking for, becaus I was not able to bind it with my existing Mail Template. The dropdownmenu shows only the old MailHost and not the new added SecureMailHost instance while configuring the Mail Template Greets, Ferhat On Dec 6, 2006, at 6:25 AM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- --On 5. Dezember 2006 22:18:09 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
I've installed it. But there is no way to set user/password. At least I didn't found anyway.
We don't believe that. The API tells you clearly that the constructors accepts a username and a password. Triple check yourself.
- -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFdlQuCJIWIbr9KYwRAtM7AKCh8eUNgB1/6rauXeIXB4y8WqOfgQCfS4tF 62MPlv8vSqkoPjRk+/Ovn1c= =9ik5 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After then you can configure user/password.
Where is the problem? You also don't have to fill in your creditcard number first when entering an online shop.
But this was not, what I was looking for, becaus I was not able to bind it with my existing Mail Template.
No idea what "Mail template" means for you? You mean the product of Chris Withers?
The dropdownmenu shows only the old MailHost and not the new added SecureMailHost instance while configuring the Mail Template
Likely you have to massage the code in order to check for the 'meta_type' of the SecureMailHost instead of the 'meta_type' for the standard Zope Mailhost. Reading and analyzing the code is always a good idea to track down such issues. I am pretty sure that there is some code using superValues() - "grep -r " is your best friend in such a case. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFdypdCJIWIbr9KYwRAoZOAKDbev1GT98LoALO40S6F6+Xrf9aPQCgsgjG /x8NvHqo14ApCkcy3dew/NQ= =ma6u -----END PGP SIGNATURE-----
On Dec 6, 2006, at 9:38 PM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After then you can configure user/password.
Where is the problem? You also don't have to fill in your creditcard number first when entering an online shop.
With MailHost, you can do it! I'm _configuring_ a server (in this case my MailHost) but not _buy_ a server.
But this was not, what I was looking for, becaus I was not able to bind it with my existing Mail Template.
No idea what "Mail template" means for you? You mean the product of Chris Withers?
Yes, indeed.
The dropdownmenu shows only the old MailHost and not the new added SecureMailHost instance while configuring the Mail Template
Likely you have to massage the code in order to check for the 'meta_type' of the SecureMailHost instead of the 'meta_type' for the standard Zope Mailhost. Reading and analyzing the code is always a good idea to track down such issues. I am pretty sure that there is some code using superValues() - "grep -r " is your best friend in such a case.
hmm. Ok, thanks. I thought it will much eleganter to ask for some experience. I want use the product and not refactor the code. Greets, Ferhat
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 6. Dezember 2006 21:48:24 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
On Dec 6, 2006, at 9:38 PM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz <ferhat.ayaz@googlemail.com> wrote:
Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After then you can configure user/password.
Where is the problem? You also don't have to fill in your creditcard number first when entering an online shop.
With MailHost, you can do it! I'm _configuring_ a server (in this case my MailHost) but not _buy_ a server.
You did not get the punch line :-)
The dropdownmenu shows only the old MailHost and not the new added SecureMailHost instance while configuring the Mail Template
Likely you have to massage the code in order to check for the 'meta_type' of the SecureMailHost instead of the 'meta_type' for the standard Zope Mailhost. Reading and analyzing the code is always a good idea to track down such issues. I am pretty sure that there is some code using superValues() - "grep -r " is your best friend in such a case.
hmm. Ok, thanks. I thought it will much eleganter to ask for some experience. I want use the product and not refactor the code.
Modifying likely one line of code is elegant enough. If you want a better car you have to pimp it. If you can't pimp it yourself: either don't try it or let someone else pimp it for you. Got the punch line now? - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFd6rICJIWIbr9KYwRAi7PAJ9ZJFmcumI9/Xng7MyPEN8FUjVGJACfdSDT xTeRJnsvJo0J/oIssU+1IIU= =R65g -----END PGP SIGNATURE-----
Yes, thanks. You're so adroit. Now my problem is solved. Now I have the punch line and know how to use Mail Template with SecureMailHost: Do it yourself and never ask for existing solutions. If possible invent the wheel again.! Thanks for your shopping and car examples :) Andreas Jung <lists@zopyx.com> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 6. Dezember 2006 21:48:24 +0100 Ferhat Ayaz wrote:
On Dec 6, 2006, at 9:38 PM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- --On 6. Dezember 2006 20:21:19 +0100 Ferhat Ayaz wrote:
Oh, you should belive me. It appears just 'after' adding SecureMailHost to the Folder. (I'm not coding, just adding new Zope Object via management Interface) After then you can configure user/password.
Where is the problem? You also don't have to fill in your creditcard number first when entering an online shop.
With MailHost, you can do it! I'm _configuring_ a server (in this case my MailHost) but not _buy_ a server.
You did not get the punch line :-)
The dropdownmenu shows only the old MailHost and not the new added SecureMailHost instance while configuring the Mail Template
Likely you have to massage the code in order to check for the 'meta_type' of the SecureMailHost instead of the 'meta_type' for the standard Zope Mailhost. Reading and analyzing the code is always a good idea to track down such issues. I am pretty sure that there is some code using superValues() - "grep -r " is your best friend in such a case.
hmm. Ok, thanks. I thought it will much eleganter to ask for some experience. I want use the product and not refactor the code.
Modifying likely one line of code is elegant enough. If you want a better car you have to pimp it. If you can't pimp it yourself: either don't try it or let someone else pimp it for you. Got the punch line now? - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFd6rICJIWIbr9KYwRAi7PAJ9ZJFmcumI9/Xng7MyPEN8FUjVGJACfdSDT xTeRJnsvJo0J/oIssU+1IIU= =R65g -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 7. Dezember 2006 00:38:04 -0800 Ferhat Ayaz <ferhatayaz@yahoo.com> wrote:
Yes, thanks. You're so adroit. Now my problem is solved. Now I have the punch line and know how to use Mail Template with SecureMailHost: Do it yourself and never ask for existing solutions. If possible invent the wheel again.! Thanks for your shopping and car examples :)
That's how it goes - either you lookup resources by name or by type. In the Zope 3 world you would lookup for a service by interface or check for an adapter.... - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFd9RhCJIWIbr9KYwRAtSeAKDJoI0PjL6dJ7aMtiJvJZ0TSk/BjgCdHelF SCWve5nPC+jGPFutyxje4FQ= =gFOm -----END PGP SIGNATURE-----
Andreas Jung wrote:
Modifying likely one line of code is elegant enough. If you want a better car you have to pimp it.
If you do make any changes, can you chuck a patch in the tracker: https://secure.simplistix.co.uk/support ? It's annoying that we still have to use such clunky means in Zope 2. Has anyone done any work in making MailHost and friends into utilities and implement an interface? Once that's done, these kinds of problems simply go away... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (4)
-
Andreas Jung -
Chris Withers -
Ferhat Ayaz -
Ferhat Ayaz