Forum Moderators: coopster
Here's the situation - a client generates invoices daily via a desktop application - which typically emails the pdf invoices to their customers. The client wants to have the pdf invoices available for their customers to retrieve online (when logged into their site). So I thought since they're emailing them anyway - if I could come up with a way to email directly to a web accessible directory - that would save the book-keeping dept from having to save the invoices and ftp them up on a daily basis.
Any ideas / thoughts / suggestions would be very much appreciated
Thanks
Dave
NicheNET Inc.
If you're using POP or IMAP, it looks like there are functions to help pull out and decode attachments. If you're using procmail, you could try PHP's mailparse extension.
An automated FTP routine might be more secure, though.