문제

I'm writing code to download email from various servers, some of which are outside of my control. I'd like to be able to filter out spam at the code level since I can't always rely on the servers to do it effectively. What resources in Java are available to help with this? What is a good approach to take in order to minimize the amount of spam I need to wade through?

Currently I am just using the JavaMail API.

도움이 되었습니까?

해결책

이것은 Source QueryString 값을 제공하여 양식 URL의 리턴 URL을 지정하여 수행 할 수 있습니다.예 :

http://<site>/Announcements/Forms/NewItem.aspx?Source=http://<site>/default.aspx

여기서 사용자가 알림장에서 확인 버튼을 클릭하면 새 양식을 사용하면 사용자는 알림장 목록의 AllItems.aspx 페이지가 아닌 Defult.aspx 페이지로 리디렉션됩니다.자세한 정보가 있습니다 : http://blogs.msdn.com./b/alexma/archive/2006/06/17/635346.aspx? stredirected=true

다른 팁

Sounds like Jasen may be of use.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top