var html: TIdText; begin if not SMTP.Connected then SMTP.Disconnect(); try SMTP.Connect; try if SMTP.Authenticate then //验证 begin EMessage.Recipients.EMailAddresses := FUser; EMessage.ClearBody;//清空正文 html:= TIdText.Create(EMessage.MessageParts); EMe…
刚进公司的training, 下面是要求: Self-study of Java Mail library: http://www.oracle.com/technetwork/java/javamail/index.html --下载Java Mail相关的包 要求: (Required)Get attachment (XML) content of current document by :DynamicEntityModel.toLightXml(). ----转化为字符串 (Opt…