Re: CGI发email的东西?# Internet - 有缘千里一线牵
v*o
1 楼
simple SMTP programming is not hard at all. you can open a socket at port 25
to the destination mail server, specify the sender and recipient, and then the
data, and off you go.
or you can use a lot of mail utilities available on the web. sun has a java-baed
mail util method in the jdk too.
the following is a simple java mail program. you can change it a little bit
and invoke the program inside CGI