williamsba
Programmer
Hello,
I am working on a script using the JMail component. Right now I've made it so it logs in to my pop mail account, grabs all of the attachments it finds, and saves them to my web server. That all works just fine. What I am trying to figure out is two things:
1. How can I delete the email after I am done with it
2. How can I rename the file attachment before saving it to my web server
I've search through the JMail manual, and many other sites with no luck on deleting or renaming the file. If this is not possible can anyone suggest a different route to take on this? Thanks
Brad Williams
Webmaster
I am working on a script using the JMail component. Right now I've made it so it logs in to my pop mail account, grabs all of the attachments it finds, and saves them to my web server. That all works just fine. What I am trying to figure out is two things:
1. How can I delete the email after I am done with it
2. How can I rename the file attachment before saving it to my web server
I've search through the JMail manual, and many other sites with no luck on deleting or renaming the file. If this is not possible can anyone suggest a different route to take on this? Thanks
Brad Williams
Webmaster