Changeset 7470


Ignore:
Timestamp:
14 Jan 2012, 12:22:28 (13 years ago)
Author:
uli
Message:

First sketches of smart SMTP handling for our portal deploying zope.sendmail. Requires new buildout run. Also check new mail.zcml.

Location:
main/waeup.sirp/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/buildout.cfg

    r7063 r7470  
    8484    ${zope_conf:logfiles}
    8585    ${zope_conf:blobstorage}
     86    ${buildout:directory}/var/mailqueue/cur
     87    ${buildout:directory}/var/mailqueue/tmp
     88    ${buildout:directory}/var/mailqueue/new
    8689
    8790[test]
     
    126129
    127130[log]
     131recipe = zc.recipe.filestorage
     132
     133[mailqueue]
    128134recipe = zc.recipe.filestorage
    129135
  • main/waeup.sirp/trunk/setup.py

    r6901 r7470  
    66install_requires =[
    77    'setuptools',
    8     'gp.fileupload',
     8    #'gp.fileupload',
    99    'grok',
    1010    'grokcore.startup',
     
    3434    'zope.errorview',
    3535    'zope.schema >= 3.8.0',
     36    'zope.sendmail',
    3637    ],
    3738
  • main/waeup.sirp/trunk/src/waeup/sirp/configure.zcml

    r6278 r7470  
    55  <includeDependencies package="." />
    66  <grok:grok package="." />
     7
     8  <include package="." file="mail.zcml" />
    79  <includeOverrides package="waeup.sirp.utils" file="overrides.zcml" />
    810</configure>
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r7459 r7470  
    422422        )
    423423
     424    smtp_mailer = schema.Choice(
     425        title = u'SMTP mailer to use when sending mail',
     426        vocabulary = 'Mail Delivery Names',
     427        default = 'No email service',
     428        required = True,
     429        )
     430
    424431    smtp_server = schema.TextLine(
    425432        title = u'Adress of SMTP Server',
Note: See TracChangeset for help on using the changeset viewer.