Article View: free.it.visual-basic
Article #1587client e-mail vb
From: -- El Cifi --
Date: Tue, 13 Apr 2004 13:49
Date: Tue, 13 Apr 2004 13:49
23 lines
1731 bytes
1731 bytes
Ciao, sarοΏ½ breve e circonciso...
Devo fare un client e-mail in vb6 molto semplice nel senso che ad una certa
ora deve spedire un'e-mail e basta.
Ho trovato degli esempi:
-uno usa gli oggetti MAPI
-un altro usa il winsock e il formato MIME64
-un altro ancora, tratto dal MSDN, οΏ½ questo:
Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From = "Example@Microsoft.com"
myMail.To = "Someone@company.com"
myMail.Subject = "Sample Message"
myMail.Body = "This is a sample message."
myMail.AttachFile "d:\sample.txt"
myMail.Send
Set myMail = Nothing
siccome poi lo devo distribuire ed essere quindi sicuro che funnzioni
dappertutto, quale mi consigliate di usare?
Grazie in anticipo
Technical Details
Message-ID:
<c5gr2e$q9$1@lacerta.tiscalinet.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.tiscali.ch!solnet.ch!solnet.ch!irazu.switch.ch!news-zh.switch.ch!switch.ch!news.mailgate.org!draco.tiscalinet.it!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,8bf57e91ee499768,start X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2004-04-13 06:48:00 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.tiscali.ch!solnet.ch!solnet.ch!irazu.switch.ch!news-zh.switch.ch!switch.ch!news.mailgate.org!draco.tiscalinet.it!not-for-mail From: "-- El Cifi --" <mioCognome@mioDominio.miaNazione> Newsgroups: free.it.visual-basic Subject: client e-mail vb Date: Tue, 13 Apr 2004 15:49:13 +0200 Organization: Tiscali Spa Lines: 25 Message-ID: <c5gr2e$q9$1@lacerta.tiscalinet.it> NNTP-Posting-Host: ppp-62-10-80-29.dialup.tiscali.it X-Trace: lacerta.tiscalinet.it 1081864078 841 62.10.80.29 (13 Apr 2004 13:47:58 GMT) X-Complaints-To: abuse@tiscali.it NNTP-Posting-Date: 13 Apr 2004 13:47:58 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165