Skip to main content

AccessTr.neT


makro ile mail göndermek

makro ile mail göndermek

Çözüldü #9
Dim mess_body As String
Dim appOutLook As Outlook.Application
Dim MailOutLook As Outlook.MailItem
Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)

Set appOutLook = CreateObject("Outlook.Application")
Set MailOutLook = appOutLook.CreateItem(olMailItem)
With MailOutLook
.BodyFormat = olFormatRichText
.To = Me.Email_Address
.Subject = Me.Mess_Subject
.HTMLBody = Me.Mess_Text
If Left(Me.Mail_Attachment_Path, 1) <> "<" Then
.Attachments.Add (Me.Mail_Attachment_Path)
End If
'.DeleteAfterSubmit = True 'This would let Outlook send th note without storing it in your sent bin
.Send
End With
'MsgBox MailOutLook.Body
Exit Sub
email_error:
MsgBox "An error was encountered." & vbCrLf & "The error message is: " & Err.Description
Resume Error_out
Error_out:
FX-Etopla
Liste Kutusu Oluşturma
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
makro ile mail göndermek - Yazar: starturk - 05/02/2010, 17:31
Cvp: makro ile mail göndermek - Yazar: ozanakkaya - 05/02/2010, 18:06
Cvp: makro ile mail göndermek - Yazar: justcheerful - 28/08/2015, 16:44
Cvp: makro ile mail göndermek - Yazar: tamyoltornistan - 05/02/2010, 21:03
Cvp: makro ile mail göndermek - Yazar: ozanakkaya - 05/02/2010, 21:08
Cvp: makro ile mail göndermek - Yazar: tamyoltornistan - 05/02/2010, 21:14
Cvp: makro ile mail göndermek - Yazar: benremix - 05/02/2010, 22:30
Cvp: makro ile mail göndermek - Yazar: nihatkr - 05/02/2010, 23:41
Cvp: makro ile mail göndermek - Yazar: nihatkr - 05/02/2010, 23:42
Cvp: makro ile mail göndermek - Yazar: nihatkr - 05/02/2010, 23:43
Cvp: makro ile mail göndermek - Yazar: benremix - 06/02/2010, 08:36
Cvp: makro ile mail göndermek - Yazar: starturk - 08/02/2010, 17:00
Cvp: makro ile mail göndermek - Yazar: ozanakkaya - 28/08/2015, 17:09
Task