PHPMailer sınıf FTP bir dosya takılması

1 Cevap php

Hey guys i am trying to automate my system at work for sending artwork to clients, i am trying to make it so i can upload my final artwork pdf files (which i done) then later on when i select to send them an email it will attach it and send it off. I have tried doing it this way

$ Mail-> addattachment ('http://#######.com.au/artwork/14653/16296/Final/Final.pdf');

Now i didn't have much hope for this working but i thought i would give it a try, does anyone know how to take a file directly fro, the ftp and attach it, or at least save the trouble of downloading it then browsing for it and attaching.

Peşin SOF çocuklar teşekkürler.