The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Email with attachment

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #33952


    In my homepage I have this form that saves a pdf file into a folder on my host and then send me an e-mail with the url of that file.

    I don’t want to make it available to anyone so i want to change that code to just send the pdf file like an attachment in the e-mail and not saving it on my host.

    Is it possible?


    Yes, you can send email with attachments, for example, PHPMailer can do this.

    After you’ve sent successfully, just delete the file with PHP.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.