#605 closed Bug (No Bug)
_InetSmtpMail sets wrong Date
Reported by: | sbolz@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.2.12.0 | Severity: | None |
Keywords: | Cc: |
Description
I use _InetSmtpMail to send E-Mail over Notes 5.0.12 SMTP Server.
Problem:
The received Properties of the Mail is
"from SAS13250 ([166.69.5.35]) by itsaspf.pgo.saspf.local (Lotus Domino Release 5.0.12) with SMTP id 2008100813222775:105 ; Wed, 8 Oct 2008 13:22:27 +0200"
The posted Date Properties is
08.10.2008 13:22:26 GMT
As result, the sending date time in Notes Client is shown as 08.10.2008 15:22
Solving:
I replaced $bias in the array $s_Send [4] in function _InetSmtpMail by " CEST" if it is summertime, otherwise " CET". As result the time is correct shown.
As result the time stamp of the mail is shown correct:
The received Properties:
"from SAS13250 ([166.69.5.35]) by itsaspf.pgo.saspf.local (Lotus Domino Release 5.0.12) with SMTP id 2008100813285874:106 ; Wed, 8 Oct 2008 13:28:58 +0200"
The PostedDate Properties:
08.10.2008 13:28:58 CEDT
Sending Date / Time in Notes Client:
08.10.2008 13:28
The problem occured on Windows XP Client SP2, MS Patches 09/2008 and Windows Server 2003 SP1 engl. MS Patches 09/2008 and Windows Server 2003 SP2 german MS Patches 09/2008.
Attachments (0)
Change History (9)
comment:1 follow-up: ↓ 2 Changed 16 years ago by jpm
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 16 years ago by anonymous
Replying to jpm:
what was the real post time 13:22 or 15:22 as seen by your machine
The e-Mail is sent on 13:22. In the Email Client the post time is shown as 15:22 (13:22 GMT + 2 hours)
comment:3 in reply to: ↑ 2 Changed 16 years ago by anonymous
Replying to anonymous:
Replying to jpm:
what was the real post time 13:22 or 15:22 as seen by your machine
The e-Mail is sent on 13:22. In the Email Client the post time is shown as 15:22 (13:22 GMT + 2 hours)
Sorry, better formulation:
E-Mail was sent on 13:22 CEST (local time zone client). The smtp server time stamp is, as shown above, 13:22:27 +0200. The result is, that the notes client shows, that the mail was sent at 15:22. It looks like the smtp server misunderstood the date stamp generate by _inetsmtpmail. So i figure out, that, if i set $bias to " CEST", the time stamp of the email is shown correctly in the email client, even the smtp server time stamp of the mail is the same (see above received properties of mail), only the posteddate properties are differently. I'm not sure, if it is a problem of the function or a problem of the notes smtp.
Regards stefan
comment:4 follow-up: ↓ 5 Changed 16 years ago by jpm
I conduct test with my smtp and pop3/outlook without any problem.
Long time ago I was using lotus at work. I remember similar problem.
it can be a Lotus configuration problem. I use your proposal as it will only work in Europe.
comment:5 in reply to: ↑ 4 Changed 16 years ago by anonymous
Replying to jpm:
I conduct test with my smtp and pop3/outlook without any problem.
Long time ago I was using lotus at work. I remember similar problem.
it can be a Lotus configuration problem. I use your proposal as it will only work in Europe.
We have had no other smtp server in our network. So i will set the $bias by myself as it is shown above to get the right time stamp shown in the lotus notes client. Since we have had a chance testing with another smtp server, i will place the results. thanks a lot.
regards stefan
comment:6 Changed 16 years ago by Jpm
I don't know if you can use mine smtp.free.fr
comment:7 Changed 16 years ago by anonymous
No, i can't use your smtp. I receive client host rejected.
But i found out, that if i do not set "Mime-Version: 1.0", "Date: " and "Content-Type: text/plain; charset=US-ASCII" (just delete it) in $s_Send[4] in Function _INetSmtpMail the timestamp is correctly shown and set. As i talk to our notes administrators, it seemed to be really a Lotus Notes Problem by interpreting date/time information as it is set by autoit (DD.MM.YYYY UTC +0200). The notes administrators told me, that notes does not interprete this form, only DD.MM.YYYY UTC Timezone -> e.g. CEST.
Regards
Stefan
comment:8 Changed 16 years ago by Jpm
- Resolution set to No Bug
- Status changed from new to closed
Thanks
comment:9 Changed 8 years ago by c.bendt@…
Same problem with Exchange 2013.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
what was the real post time 13:22 or 15:22 as seen by your machine