Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach PDF ticket to confirmation email #615

Open
icewindow opened this issue Nov 5, 2023 · 0 comments
Open

Attach PDF ticket to confirmation email #615

icewindow opened this issue Nov 5, 2023 · 0 comments

Comments

@icewindow
Copy link
Contributor

Issue Description

When a user gets the confirmation mail that the ticket purchase was completed, they should also receive the ticket as an attached PDF file. See also #614.

Motivation

Sending a PDF file will make it somewhat obvious that this is something important to the user. We have had users who didn't know they received a QR code in their profile upon completion of their purchase and when time to check them into the vent came, were not immediately able to produce the QR code due to them not having a working internet connection or them not knowing their login details. Many people have their emails synced up to their mobile devices, so this provides a backup solution in case the user is unable to access their profile.

Considerations

How should updated PDFs be handled?

If the PDF file is updated for any reason, should the user get a follow-up email with the updated document attached? Should the user just be notified and prompted to download the updated file via their profile? Should the change not trigger any email?

The best solution is probably the first one, sending the updated PDF as a follow-up email. However, if multiple PDF files needed to be changed, this could strain the server resources. A queuing system might be needed.

Compatibility with already existing mail handling

The mailing system currently uses templates to build the email. Can this system cope with attachments? Can a middleware be added to the mail processing chain to add attachments?

Possible implementation

The PDF should be already generated at the time the confirmation mail is sent. The handler which sends the mail will need to read in the file and attach it to the email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant