Jari Fredriksson wrote: > > > You need to prepare a valid looking email message from the text the web > app produces. It needs all the required headers before the actual body > of text to work. You may need to study SMTP RFC's to get it right, the > simple looking headers like Date: and Received: need to be carefully > crafted after the standards. > > The just use ProcessBuilder in your Java app to connect to spamc and > pass the message for it, and read the results. > > -- > http://www.iki.fi/jarif/ > I use PGP. If there is an incompatibility problem with your mail > client, please contact me. >
Is it not possible to test spam score for only the "email content" part of the email message with SpamAssassin? That means, I just want to test spam score of .html, .txt file extension types only. In case if I want to prepare a valid looking email message, as you had suggested, with simple looking headers, etc., can you share me relevant documentation links on the same? BTW, what does PGP mean that I found from your signature? -- View this message in context: http://old.nabble.com/SpamAssassin-Integration-tp28903365p28910744.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.