Baca Juga
Script VB untuk kirim email menggunakan Microsoft Outlook
Sub Kirim_Pesan
Set OAPP = CreateObject("Outlook.Application")
Set msg = OAPP.CreateItem(0)
msg.To = <e-mail tujuan>
msg.Subject = <judul email>
msg.Body = <isi pesan email>
msg.Attachments.Add (<path attachment>)
msg.Send
Set msg=Nothing
Set OAPP=Nothing
End Sub
NOTE: Komputer harus terinstall Microsoft Outlook :))
Sub Kirim_Pesan
Set OAPP = CreateObject("Outlook.Application")
Set msg = OAPP.CreateItem(0)
msg.To = <e-mail tujuan>
msg.Subject = <judul email>
msg.Body = <isi pesan email>
msg.Attachments.Add (<path attachment>)
msg.Send
Set msg=Nothing
Set OAPP=Nothing
End Sub
NOTE: Komputer harus terinstall Microsoft Outlook :))
Labels:
Pemrograman,
VB Source Code
Thanks for reading Send mail from Visual Basic. Please share...!
3 Comment for "Send mail from Visual Basic"
jdi yng ini di copy kan code ny ke keylogger ya ..
ada yng di ganti ga dari SC yng ni buat di copykan
merah gooblok
Copy the BEST Traders and Make Money (One Click) : http://ow.ly/KNICZ