time zone error indy10 Delphi

Asked

Viewed 96 times

1

I have a screen that sends emails using Indy10 but it sends with the wrong time zone. He is sending the email always 2 hours late, IE, if I send at 17:00 he marks in the email as sent at 15:00. I checked on several sites but what seems more correct would recompile the component, but the same and quite complicated to compile, always giving errors that lack settings or compilation parameters. If I try to call the class property the same "hangs" the Delphi compilation.

Ex. Fri, 11 Nov 2016 12:36:40 +0000 (taken from email property).

But everything else is right... I tried to recompile this component but without success.

  • 2

    Friend, we need more details. What is the time of the application server. What is the routine you use to set up and send the email? Email property? You mean the file .eml? This information will help us to help you.

  • Sorry for the lack of information, but I found where. because it does not pass the value of GMT -3 (Santa Catarina) to send the email with the current time. it sends via SMTP of our office365. Now I’m seeing to compile the component of Indy 10 with the correct adjustment.

  • Cool.... if it works put there. Abç.

  • Unsuccessful friend did not work, not even calling the parameter of the class.

  • As I mentioned, can you please post as is your code (edit the question)? Thank you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.