Ignore:
Timestamp:
23 Jan 2012, 15:33:50 (13 years ago)
Author:
Henrik Bettermann
Message:

The custom smtp server is not necessarily localhost.

Add external mailer tests. If EXTERNAL_MAIL_TESTS is set True and existing_address@… is replaced by an existing email address, two real mails will be received after each test run.

Location:
main/waeup.custom/trunk/src/waeup/custom
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.custom/trunk/src/waeup/custom/mail.zcml

    r7498 r7504  
    4949  -->
    5050  <mail:smtpMailer
    51       name="smtp.localhost"
     51      name="smtp.mailserver"
    5252      hostname="localhost"
    5353      port="25"
     
    6868   -->
    6969  <mail:queuedDelivery
    70       name="Queued SMTP on localhost"
     70      name="Queued SMTP on mail server"
    7171      permission="zope.Public"
    72       mailer="smtp.localhost"
     72      mailer="smtp.mailserver"
    7373      queuePath="../../../var/mailqueue"
    7474      />
    7575
    7676  <mail:directDelivery
    77       name="Direct SMTP on localhost"
     77      name="Direct SMTP on mail server"
    7878      permission="zope.Public"
    79       mailer="smtp.localhost"
     79      mailer="smtp.mailserver"
    8080      />
    8181
Note: See TracChangeset for help on using the changeset viewer.