20. februar 2014 - 14:45Der er
5 kommentarer og 1 løsning
e-mail til e-mail via Access
Jeg har lavet et program, som giver en output-fil, givet en eller to input-filer.
Jeg forestiller mig, at når maile kommer, henter Outlook filerne enten selv eller via et program. I Access dannes så output-filen, som returneres til kunden. Det hele sker selvfølgelig automatisk.
Er det helt hen i vejret? Som jeg ser det, er kunststykket at hente de vedlagte filer og starte Access programmet.
To me it sounds like Outlook has to initiate the process if Access isn't running. I guess Outlook can receive other types of mails than those containing the files so you need to take that into account. When you receive a mail you could then detach the file(s) using VBA, place them in a folder with maybe another file which contains information (file names, destination email address) then start Access either automation or just execute a batch file.
Access does the rest then closes.
You need to consider that you might receive more than one email which needs to be processed ...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.