(Solved) – Send specific data from Outlook to MS database via VBA


My goal is to send specific data and attachment from Outlook to a SQL Server database along with sent email. In the SQL Server database, I have a table with columns mail.to, mail.from and attachment in binary format. The VBA script sends the data to the database and then sends the e-mail to the recipient by pressing the send button. Is it possible to create such a VBA script?

Leave a Reply

Your email address will not be published. Required fields are marked *