It is very difficult for me. Please help me. Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiNetwork/html/delphi_200612311550524.html
I want to use idsmtp in dephi to do this. ProgramCan send the specified webpage to the specified mailbox, for example, the home page of www.csdn.net to the kingsong@126.com, please give a write case, thank you very much.
High score thanks.
We usually send emails from one mailbox to another, so you need to bind one mailbox, and the mail server is SMTP
Put an idmessage
SMTP. HOST: =; // enter the SMTP server in your mailbox.
Idmessage. Recipients. emailaddresses: =... // email address
// The idmessage... contains attributes that can be added with the content to be sent.
SMTP. Connect;
SMTP. Send (idmessage );
Basic sending... but I don't quite understand your first leaf. What does it mean.
First, obtain the URL of the webpage.
Then press the upstairs to send, SMTP protocol
Thank you very much. I understand the usage of SMTP. It must be bound to a mailbox. I mean to send a page on the website to the mailbox, that is, to open the email and see the page, it is the same as entering the webpage URL in IE. Thank you for your help.