Skip to content

[ASPA-74] Create method to send attachment using email model#139

Open
mouyang2001 wants to merge 15 commits into
masterfrom
ASPA-74/create-method-to-send-attachment-using-email-model
Open

[ASPA-74] Create method to send attachment using email model#139
mouyang2001 wants to merge 15 commits into
masterfrom
ASPA-74/create-method-to-send-attachment-using-email-model

Conversation

@mouyang2001

Copy link
Copy Markdown
Contributor

Issue:
Needed to send a pdf QR code attachment in the confirmation email.

Solution:
Used TCPDF library to generate and produce a basic pdf document with the QR code in the middle. Attached to the email using phpmailer.

Unrelated to this story, also modified the QR generation page to output a png image instead of a canvas. This allowed for the use of lightweight images and libraries.

Risk:
Lots of code was added and changed.

Reviewed By:
[Edit the message as to who reviewed it here]

@mouyang2001 mouyang2001 self-assigned this Oct 5, 2021
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

Successfully merging this pull request may close these issues.

1 participant