delphi编写电子邮件的制作步骤(The steps of making e-mail by Delphi).docVIP

  • 1
  • 0
  • 约1.18万字
  • 约 26页
  • 2017-12-29 发布于贵州
  • 举报

delphi编写电子邮件的制作步骤(The steps of making e-mail by Delphi).doc

delphi编写电子邮件的制作步骤(The steps of making e-mail by Delphi)

delphi编写电子邮件的制作步骤(The steps of making e-mail by Delphi) The steps of making e-mail by Delphi . Category: delphi2007-09-20 09:43667 read comments (0) collection report In the Delphi TNMPop control, receiving e-mail, POP3 POP3 protocol itself command Command specification USER passes the username to the POP3 server PASS transfer to the POP3 server user password STAT gets the mail number of the current user LIST gets mail labels and sizes All information of BETR get the message, including the message headers and content TOP gets mail headers DELE deletes the specified message NOOP empty operation QUIT exit host dialogue Control properties 1, AttachFilePath The specified attachment storage path, the current path is still 2, BytesRecvd How many bytes have been received? 3, BytesTotal The total number of bytes transferred 4, Connected To establish a connection with the POP3 server returns true, otherwise false Cases: If not nmpop31.connect then Begin Nmpop31.port:=110; Nmpop31.userid:= username; Nmpop31.password:= userpassword; Nmpop31.connect; End; 5, DeleteOnRead If the property is true, when the mail after downloading from the server to delete 6, host Server host name or IP address 7, LocalIp Return to the client IP address, if there is more than one, it returns only the first. 8, mailcount Return mail number 9, mailmessage Call the getmailmessage method, which returns the mail to the information retrieval, it is a kind of It contains the following parts: L Attachments: this is a TStringList object containing a mail attachment name received L Body: this is a TStringList object containing the body of the message received The e_mail address of the sender of L From: L Head: this is a TStringList object that contains the header title The identification number of L MessageID: mail The theme of L Subject: mail 10, password, port, userid Submitted to the POP3 server user password protocol port, user identification 11, RemoteIP The IP address of the POP3 server 12, ReportLevel

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档