Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 2 Monaten, 1 Woche
Letzter Beitrag:
vor 2 Monaten, 1 Woche
Beteiligte Autoren:
Aad Gouka, Alen U., Jose Antonio Garrido

.eml again.

Startbeitrag von Aad Gouka am 12.06.2017 10:23

My previous post about .eml files from the Preview screen gave me insight, where the files are stored. Like Arie said, in the \user\appdata\local\temp.

Strange thing is, that the .eml is only stored when I log in as Administrator. When I log in with another username (no admin right), the .eml file is not saved in the users local map and the emailclient isn't started,

UPDATE: only the .pdf file is generated, but not the .eml file.

I gave the user admin rights on a temporary basis, but that doesn't help. I'm talking about a windows 2012 server on which I installed a Windev application. I use TSPLUS, so several users can log in and use the application.

Anybody with an idea where to look and how to solve this ?

Best regards,

Aad

Antworten:

Hi,
did you try to look in folder returned by fTempDir() ?

BR,
Alen

von Alen U. - am 12.06.2017 15:43
Hi Alen,

Thank you for your reaction. Maybe you can explain why I should use fTempdir().
Point is, that it's not important where the file is saved, because the emailclient is started
automatically, I think regardless the location of the .eml file.

Only thing I can think of that it's saved in a location where the user has no server rights, but that's a shot in the dark.

I've send a supportmail to PC Soft with this problem, so maybe they can give a solution.

Best regards,

Aad

von Aad Gouka - am 12.06.2017 16:44
Hi,
I would check that I have r/w rights to temp folder returned by fTempDir() just to be sure (even with admin rights)

I think that eml file is created by email client when generating/sending message.
If sending mails works throught mapi then this can be problem with email accounts/email rights per user.

Please check https://doc.windev.com/en-US/?3032035&name=Simple_MAPI

Hope it helps

BR,
Alen

von Alen U. - am 12.06.2017 18:43
Hi Alen,

I did what you suggested. fTempdit() returns the \user\appdata\local\temp\5 map. I checked the rights of the user and they are fully open.

The Preview generates the .eml file and sends it to the standard emailclient, nothing more.
The strange thing is, that "Email with integrated content" produces a valid .eml file and works ok. "Email with attached PDF" does not and is not available.

I think this looks more like a bug then a complicated way of saving a temp file.

Let's wait and see what PC Soft has to say about this. By the way, it only happens on server software. I tested it on W7 Pro and there are no problems.

Best regards,

Aad

von Aad Gouka - am 12.06.2017 19:01
Hi,
yes, now it sounds like a bug.

BR,
Alen

von Alen U. - am 12.06.2017 19:24
Hi.

There is a MUST HAVE utility called Process Monitor, from Mark Russinovich.

It's very very very usefull. And only 1MB. And also no installers.

I have used for more than 10 years (it was called Filemon)
If you search for it in google it will lead you to microsoft site, since this guy started to work for microsoft about 5 years ago.

In less than 30 seconds you will find ALL the file access made by both your Windev Program and you Email Client, or any other program.
Succesful operations (file read, file modified, file creation) and error operations (file not found, or access denied, etc).


Regards,
José Antonio.

von Jose Antonio Garrido - am 12.06.2017 23:06
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.