摘要: /*Some SMTP servers require a username and password authentication before youcan use their Server for Sending mail. This is most common with coupleof ISP's who provide SMTP Address to Send Mail.This Program gives any example on how to do SMTP Authentication(User and Password verification)This is 阅读全文
posted @ 2010-11-17 22:05 qiang.xu 阅读(419) 评论(0) 推荐(0) 编辑
摘要: spring邮件服务1.spring邮件服务体系2.demos3.可能出现的问题1.spring的邮件服务体系The Spring Framework provides a helpful utility library for sending email that shields the user from the specifics of the underlying mailing system and is responsible for low level resource handling on behalf of the client.Theorg.springframework 阅读全文
posted @ 2010-11-17 22:01 qiang.xu 阅读(2423) 评论(0) 推荐(0) 编辑
摘要: // 测试用例:// 直角三角形:3 4 5// 钝角三角形:3 5 7// 锐角三角形:6 6 6#include <stdio.h>#include <stdlib.h>// test if the three number is a triangleint isTriangle(int a, int b, int c){ if ((a > 0) && (b > 0) && (c > 0) && ( 阅读全文
posted @ 2010-11-17 19:48 qiang.xu 阅读(6802) 评论(0) 推荐(0) 编辑