Macro to attach numerous pdf files and email via lotus notes
Hi,
I was wandering if anyone out there can help.
I have a folder (Z\statements\pdf's\) where i will have numerous pdf's stored.
The file names of these pdf's will be an email address.
So a file name could be: joebloggs@test.com.pdf , haroldbloggs@test.com.pdf etc...
What i need to do is to be able to extract the file name excluding the .pdf extension and attach this name as the email address and the actual pdf attachment in one email.
So i would have joebloggs@test.com as the email address and within the email i would have the pdf file as well.
Can a macro be created to do this?
I know how to create a macro and email the attachment but only when the email address is hard coded in the macro itself.
Thanks
Steve
Testing with Revision 5 of Lotus Notes
After some digging into my archive boxes, I found a copy of Lotus Notes R5 (A little old, I know ...). Setting it up for my private stand alone pop mail account and smtp server of mine internet provider. Seems to me it works fine. Mail item is created with attachment and placed in sent items. The only thing I'm not certain of, is the following : should I, after sending all the items, manually send all items with the replicator or is this done automatically.
Attached the file I used (removed the errorchecking variable in sub sendnotes).
Charlize