如题
初学者  请大家帮忙

解决方案 »

  1.   

    www.2ccc.com
    www.delphiun.com
    都有的下
      

  2.   

    买一本<DELPHI串口通迅>回来看看,上面有现成的源程序.并且可直接使用.
      

  3.   

    var T:Tstrings;
    begin
      T:=Tstringlist.Create;
      T.LoadFromFile('c:\a.txt');
      if T.Count=0 then exit;
      idmessage1.Body.Assign(T);
      idmessage1.From.Address:='[email protected]';
      idmessage1.Recipients.EMailAddresses:='[email protected]';
      idmessage1.Subject:='title';
      try
        idsmtp1.Connect();
        idsmtp1.Send(idmessage1);
      finally
        idsmtp1.Disconnect;
      end;
    end;一个idsmtp1控件一个idmessage1控件
      

  4.   

    http://hubdog.csdn.net/Download/dlIndex.htm基于Indy的Email发送组件源码 [下载]
      

  5.   

    把idsmtp1控件的host属性设置一下比如我的这个程序是mail.citiz.net,username属性和,password属性