Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

how to send email from BODS with attachment

$
0
0

Hi Arun

 

I tried the vb script which you gave but it is not working for me... when i double click the file it gives me an error... see the attachement..

 

I tried by taking out AddAttachement object as well but it is giving me an error see the attachment 12 for the error

 

code :-

 

Option Explicit

Dim objMessage

Set objMessage = CreateObject("CDO.Message")

With objMessage

.Subject = "My Test Message"

.From = "abc@pcr.net"

.To = "xyz@pcr.net"

.TextBody = "This is the message body."

.AddAttachment = "\\ds_server_nm\Documents\file_nm.CSV"

.Send

End With

Set objMessage = Nothing

 

code written with the help of http://scn.sap.com/thread/3344708

 

thanks & regards


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>