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

Replace PDF cleanup after form submission #1537

Closed
jakejackson1 opened this issue Jun 11, 2024 · 1 comment · Fixed by #1556
Closed

Replace PDF cleanup after form submission #1537

jakejackson1 opened this issue Jun 11, 2024 · 1 comment · Fixed by #1556
Labels
Milestone

Comments

@jakejackson1
Copy link
Member

Description

Background processing emails is becoming more common, and auto-deleting the PDF attachments right after form submission can cause errors when the async email is sent. To correct this, replace the auto-cleanup logic with a scheduled event that runs 1 hour after the initial form submission.

WP SMTP Mail v4 includes async mail sending and it should be possible to replicate the error with it.

@jakejackson1
Copy link
Member Author

Reviewed WP SMTP Mail and found it copies the file attachments to a tmp location so the file will always be present when the queue is run. It's not the cause of the issue.

@jakejackson1 jakejackson1 added this to the 6.12 milestone Jul 15, 2024
@jakejackson1 jakejackson1 linked a pull request Jul 29, 2024 that will close this issue
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant