Attach locally generated pdf file
-
Hi,
I am generating a pdf locally consisting of test and a random 6 digit number.
I need to attach the pdf before the mail is sent.
Obviously I do not know what the random number generated will be so basically I do not know the filename to be attached and I cannot use the file attachment field in the form.
Is there a way to attach a file manually in the before_send method?
I am using ->uploaded_files but it is not working.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Attach locally generated pdf file’ is closed to new replies.