P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-11 #2 用fastnet下面的NMSMTP控件: NMSMTP1.Host:=你的smtp服务器; NMSMTP1.Connect; 在 OnConnect 事件写: with NMSMTP1.PostMessage do begin body.Text:='正文'; subject:='标题'; ToAddress.Text:=收信人地址; FromAddress:=发信人地址; end; NMSMTP1.SendMail;
用fastnet下面的NMSMTP控件: NMSMTP1.Host:=你的smtp服务器; NMSMTP1.Connect; 在 OnConnect 事件写: with NMSMTP1.PostMessage do begin body.Text:='正文'; subject:='标题'; ToAddress.Text:=收信人地址; FromAddress:=发信人地址; end; NMSMTP1.SendMail;