I am trying to send an email, via some code in an Excel97 file. This mail should have a file attachment. The code I am using is as follows:
Call objNotesDocument.REPLACEITEMVALUE("SendTo", arrRecipient)
Call objNotesDocument.REPLACEITEMVALUE("Subject", "Test")
Call objNotesDocument.REPLACEITEMVALUE("Body", "Test email.")
Call objNotesDocument.GETATTACHMENT("F:\test.txt")
Call objNotesDocument.SEND(False)
The email is being sent/ received ok. However, it does not have the file attachment.
Could someone please advise what I am doing wrong? And how I should be doing it?
Thanks,
S
Call objNotesDocument.REPLACEITEMVALUE("SendTo", arrRecipient)
Call objNotesDocument.REPLACEITEMVALUE("Subject", "Test")
Call objNotesDocument.REPLACEITEMVALUE("Body", "Test email.")
Call objNotesDocument.GETATTACHMENT("F:\test.txt")
Call objNotesDocument.SEND(False)
The email is being sent/ received ok. However, it does not have the file attachment.
Could someone please advise what I am doing wrong? And how I should be doing it?
Thanks,
S