# Re: 如何从SQL SERVER中抓出email栏位的值然后自动发email回信

Posted by David Wong on August 07, 1998 at 15:34:09:

In Reply to: 如何从SQL SERVER中抓出email栏位的值然后自动发email回信 posted by shakiyu on August 07, 1998 at 13:39:09:

用 ASP 就可以做到。

For Example :

set jmail = Server.createObject("Jmail.SMTPMail")
jmail.ServerAddress = "XXX.XXX.XXX.XX"
jmail.Sender = "XX@XXX.XXX"
Jmail.Subject = "XXXXXXXXXXX"
Jmail.AddRecipient "XXXX@crc.com.hk"
JMail.Body = "Hello"
Jmail.ContentType = "text/plain; charset=""XXXXXX"""
Jmail.Execute
set jmail = nothing

Follow Ups:

- Re: 如何从SQL SERVER中抓出email栏位的值然后自动发email回信 shakiyu 17:42:44 8/07/98 (0)