Hi I have been using the "Email based server" example Here as a way of processing sales from a site called Selz. - Anyway after a year of messing with them, I have decided to move to PayPal direct and just use payment buttons on my site. So I was hoping that it would be an easy code edit to look at emails , watch out for ones from PayPal, and then if it contains my product ID, I would reply to the email address in the email (Not the email address the mail was sent from) with an access code! nice and simple! But for some reason it proving very difficult. As the email address is my main email address I get lots of emails.
The problems I am getting are SOME emails look like HTML! Some look like a mass of letters (MIME??) And some just seem to crash the server. with errors like : java.io.FileNotFoundException: C:\Users\Adrian\AppData\Local\Temp\=?utf-8?B?Vm91Y2hlciBDb2RlcyZVbmJlYXRhYmxlIFByaWNlIFByb2R1Y3RzIDQueGxz?= (The filename, directory name, or volume label syntax is incorrect)
I was hoping to just look for mails from paypal, see if they have my product ID in them and then reply to the email address stored inside the msg.body!
Does anyone have some code for this?
Thanks
Aidy
The problems I am getting are SOME emails look like HTML! Some look like a mass of letters (MIME??) And some just seem to crash the server. with errors like : java.io.FileNotFoundException: C:\Users\Adrian\AppData\Local\Temp\=?utf-8?B?Vm91Y2hlciBDb2RlcyZVbmJlYXRhYmxlIFByaWNlIFByb2R1Y3RzIDQueGxz?= (The filename, directory name, or volume label syntax is incorrect)
I was hoping to just look for mails from paypal, see if they have my product ID in them and then reply to the email address stored inside the msg.body!
Does anyone have some code for this?
Thanks
Aidy