VB Example to Send Email with No User Interaction from Access
Posted by admin admin on 22 November 2006 09:39 PM
Do you have any sample code showing how to send email without user interaction from Microsoft Access?
The following sample shows how to email without user interaction using the Win2PDF Mail Helper application. You need to install and configure the Win2PDF Mail Helper application before running this code:
The SaveWin2PDFDword routine used in this example is listed on the following page:
'This code assumes that Win2PDF is set as the default printer.
'enable sending the PDF file with no user interaction
'set the output file name
SaveSetting "Dane Prairie Systems", "Win2PDF", "PDFMailRecipients", txt_emailaddress
stDocName = "rpt_Report_to_EMail"