Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthew Muro

    (@mmuro)

    A file must be uploaded to the server in order for it to be emailed. PHP emails must have a physical file path for attachments, so there’s no way around that.

    Thread Starter Mariole91

    (@mariole91)

    Hi Matthew,

    Thank you for your answer. Maybe there is a workaround that we could implement?

    1) Create a dedicated directory for those uploads (using the tutorial on your website);
    2) Create an automated task, that will wipe the contents inside that directory after: clicking on submit or x-hour basis.

    I guess that we can’t prohibit visitors access to that folder without saying farewell to attaching files?

    The reason why I need this – visitors will be applying for a job (resumes/cover letters), since this information is quite sensitive… I don’t want others to wonder around and then stumble upon those documents. Is there anything that can be done to limit access?

    Thanks,
    Mario

    Plugin Author Matthew Muro

    (@mmuro)

    1. To change the upload directory, check out this tutorial.
    2. You can setup a cron job (done outside of WordPress) that will wipe everything in that folder

    I’d contact your host for help with the cron job.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No upload, only attach files to email’ is closed to new replies.