RAJwin777!
New Member
- Joined
- May 9, 2011
- Messages
- 1
Dim objOutlook As Object
'Dim objOutlookMsg As Object
'Set objOutlook = CreateObject("Outlook.Application")
'Set objOutlookMsg = objOutlook.CreateItem(0)
'With objOutlookMsg
' .To = shiva@rediffmail.com
'' .Cc = abc@yahoo.com
' '.Cc = bcd@gmail.com
' .Subject = "MSG Server Health Check Report"
' .Body = "Report Attached"
' .HTMLBody = "Sample Report Attached"
' .Attachments.Add ("C:\HealthCheck-Test\HC-Result.txt")
' .Send 'Let´s go!
'End With
'
'
'
'Set objOutlookMsg = Nothing
'Set objOutlook = Nothing
Set objFSO = Nothing
Not able to sent the mail using the above code. we are getting security alert with yes or no option... Even after clicking "yes" not able to send the mail.
'Dim objOutlookMsg As Object
'Set objOutlook = CreateObject("Outlook.Application")
'Set objOutlookMsg = objOutlook.CreateItem(0)
'With objOutlookMsg
' .To = shiva@rediffmail.com
'' .Cc = abc@yahoo.com
' '.Cc = bcd@gmail.com
' .Subject = "MSG Server Health Check Report"
' .Body = "Report Attached"
' .HTMLBody = "Sample Report Attached"
' .Attachments.Add ("C:\HealthCheck-Test\HC-Result.txt")
' .Send 'Let´s go!
'End With
'
'
'
'Set objOutlookMsg = Nothing
'Set objOutlook = Nothing
Set objFSO = Nothing
Not able to sent the mail using the above code. we are getting security alert with yes or no option... Even after clicking "yes" not able to send the mail.