I have recently programmed a site that enables a user to upload and download files to and from an FTP site.
I now wish to take it further by having an email sent out to a specific email account (Outlook 2010) confirming that a file has been uploaded or downloaded along with the file name.
I have added the 'Microsoft Outlook 14.0 reference.
I have also created an Outlook Application as follows:
Dim oApp = New Outlook.Application()
When I go to then declare a MailItem variable, I dont get it in the list, all I get to select is 'Application':
Dim oMsg As Outlook.
How do I go about setting up a MailItem variable?
Can anybody help please?