html
Send email via MSN email account
MSN SMTP server requires SSL connection on port 25.
Sample code below uses CDO 2000 class for sending emails
| This is sample code. Add error handling and adjust to your requirements as necessary. |
* Replace addresses with real ones before running the code loMail = NEWOBJECT("Cdo2000", "Cdo2000.fxp") WITH loMail .cServer = "smtp.live.com" .nServerPort = 25 .lUseSSL = .T. .nAuthenticate = 1 && cdoBasic .cUserName = "yourAccount@live.com" .cPassword = "yourPassword" *.cFrom = "yourlAccount@live.com" .cFrom = .cUserName
Send email via Yahoo mail account
Yahoo SMTP server requires SSL connection on port 465.
Sample code below uses CDO 2000 class for sending emails
| This is sample code. Add error handling and adjust to your requirements as necessary. |
* Replace addresses with real ones before running the code loMail = NEWOBJECT("Cdo2000", "Cdo2000.fxp") WITH loMail .cServer = "smtp.mail.yahoo.com" .nServerPort = 465 .lUseSSL = .T. .nAuthenticate = 1 && cdoBasic .cUserName = "yourYahooAccount@Yahoo.com" .cPassword = "yourYahooPassword"
Retrieve HTML from Clipboard
MSDN:
| This is sample code. Add error handling and adjust to your requirements as necessary. |
lcHtml = HtmlFromClipboard() IF NOT ISNULL(lcHtml) lnStartHTML = VAL(STREXTRACT(lcHtml, "StartHTML:", "")) lnEndHTML = VAL(STREXTRACT(lcHtml, "EndHTML:", "")) * If StartFragment is present, retrieve HTML fragment IF ("StartFragment" $ lcHtml)
Send email via Gmail account
Gmail SMTP server requires SSL connection on port 465.
CDO 2000 class for sending emails
The CDO2000 class allows to send emails w/o user intervention using a SMTP server.
Loading XML into a WEB Browser Control from Variable
The code below uses default Internet Explorer XSLT to convert XML into HTML.
Recent comments
9 hours 35 min ago
3 days 12 hours ago
2 weeks 9 hours ago
2 weeks 13 hours ago
3 weeks 3 days ago
4 weeks 2 days ago
4 weeks 2 days ago
4 weeks 2 days ago
4 weeks 2 days ago
5 weeks 2 hours ago