Met behulp van Visual Basic Script , kunt u het proces van het verzenden van e-mails naar alle mensen op uw mailinglijst te automatiseren . Met een beetje creativiteit , kunt u ook de informatie voor het samenstellen van de e-mail van een databank te trekken . Een gemeenschappelijke taak , als u het script om u automatische log rapporten te sturen , kunt u bijlagen bevatten . . Instructies 1 Open een teksteditor kopen van 2 Plak volgende om het bericht te maken: set m = CreateObject ( " CDO.Message " ) m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo/configuration/sendusing " ) = 2 m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo/configuration/smtpserver " ) = " mail.your.com " m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo /configuratie /smtpauthenticate " ) = cdoBasic m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo/configuration/sendusername " ) = " UwGebruikers-ID " m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo/configuration/sendpassword " ) = " yourpassword " m.Configuration.Fields.Item ( " http://schemas.microsoft.com /CDO /configuratie /smtpserverport " ) = 25 m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo/configuration/smtpusessl " ) = False < br > m.Configuration.Fields.Item ( " http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout " ) = 60 m.Configuration.Fields.Update m.to = " [email protected] " m.subject = "Test " m = " [email protected] " m.from . textbody = " Gelieve te bekijken deze meervoudige stuur meerdere bijlagen , gewoon het commando add attachment te herhalen . Je moet de configuratie velden bijwerken om de gegevens van uw servers instellingen mail weer te geven . Bijvoorbeeld, als u Gmail gebruikt , dan is uw SMTP-server zou smtp.gmail.com en je gebruikersnaam en wachtwoord zou de gebruikersnaam en het wachtwoord voor uw Gmail- account. 3 Sla uw werk op . je kunt het script uitvoeren door erop te dubbelklikken . < br >
|