Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

MailUtils: scheduled_send_email(..) to call bibtasklet with header+footer params #1030

Closed
jeromecaffaro opened this Issue · 4 comments

2 participants

@jeromecaffaro
Collaborator

Originally on 2012-05-02

Function mailutils.scheduled_send_email(..) takes header and footer as parameters, but does not make use of them:

$ pylint mailutils.py
[...]
W: 63:scheduled_send_email: Unused argument 'footer'
W: 62:scheduled_send_email: Unused argument 'header'
[...]

Forward header and footer params to the called BibTasklet "bst_send_email"

@jeromecaffaro jeromecaffaro self-assigned this
@jeromecaffaro
Collaborator

Originally on 2012-05-02

Patch available for master in my personal repo, in branch 1030-mailutils-sheduledsendmail-forward-headerfooter

@invenio-developers
Collaborator

Originally by Jerome Caffaro jerome.caffaro@cern.ch on 2012-06-22

In [320d23c]:

#CommitTicketReference repository="" revision="320d23c8c2b03e8744ec366c7349ef99c77ef20d"
mailutils: header/footer in scheduled_send_email()

- Passes 'header' and 'footer' params to "bst_send_email" tasklet
  called from scheduled_send_email() function.  (closes #1030)
@invenio-developers
Collaborator

Originally by Jerome Caffaro jerome.caffaro@cern.ch on 2012-08-09

In 320d23c:

#CommitTicketReference repository="" revision="320d23c8c2b03e8744ec366c7349ef99c77ef20d"
mailutils: header/footer in scheduled_send_email()

- Passes 'header' and 'footer' params to "bst_send_email" tasklet
  called from scheduled_send_email() function.  (closes #1030)
@invenio-developers
Collaborator

Originally by Jerome Caffaro jerome.caffaro@cern.ch on 2012-08-09

In 320d23c:

#CommitTicketReference repository="" revision="320d23c8c2b03e8744ec366c7349ef99c77ef20d"
mailutils: header/footer in scheduled_send_email()

- Passes 'header' and 'footer' params to "bst_send_email" tasklet
  called from scheduled_send_email() function.  (closes #1030)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.