How to connect PDF inside Google Drive and sending an email per SMTP

We receive PDF as an unique name (ID).

How to connect PDF inside Google Drive and sending an email per SMTP. Should we read PDF or it can be automatic redirected to the particular email?

I’m… confused.

“We receive PDF”… how are you receiving the PDF?
“How to connect PDF inside Google Drive” Google Drive has an API. The API reference tells you how you can create files, and includes a client library for PHP.
" or it can be automatic redirected to the particular email?" If the file is on the server running the script, and the server has been set up to use mail (or something like phpmailer has been configured to do so), then you can email the file. Whether the server at the other end is going to be happy with a robotic email showing up with a PDF attached, probably a different conversation.

We receive PDF in Google Drive service and we can use Google Drive API in our server to run the script and connect SMTP for all PDF’s.

An issue is how to detect which PDF should be sent to the particular email receiver as PDF’s have unique names.

I… dont know how anyone here is going to be able to answer that for you, because we dont know your system of PDFs and who to send them to.

1 Like

I will check again my workflow. Sorry if I was not clear.