Well, here's the text generated by the program as the e-mail (and into the
joblog). Notice in the outgoing text that it went at 21:50:53, but I didn't
receive it until 21:59. And, by the way, my e-mail client is set to
automatically send/receive every 1 minute. You'd think I should have gotten
it within 2 minutes, no?
Connection to localhost established
220 ELIJAH Service ready.
HELO ELIJAH.UNBEATENPATH
250 ELIJAH.
MAIL FROM:<Needle@xxxxxxxxxxxxxx
250 OK.
RCPT TO:<email@xxxxxxxxxxx
250 OK.
DATA
354 Enter mail body. End mail with a '.' in column 1 on a line by
itself.
From: Needle
<Needle@xxxxxxxxxxxxxx >
To: Thomas Garvey
<email@xxxxxxxxxxx >
Date: Mon, 30 Aug 2010 21:50:53 -0500
Subject: The following activity has been detected...
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="--=_TGBoundary"
Your mail reader doesn't support MIME!
----=_TGBoundary
Content-type: text/plain
Dear user,
For your convienience, I've sent you this message in both text and HTML
format. You are currently reading the text version.
Thanks,
Needle
----=_TGBoundary
Content-type: text/html
<html>
<head>
<style type="text/css">
.normal {font-size: 10pt; font-family: Verdana;}
.italics {font-style: italic;
font-size: 10pt;
font-family: Verdana;}
.emphasis {font-style: italic;
font-weight: bold;
font-size: 10pt;
font-family: Verdana;}
</style>
</head>
<body>
<p class="emphasis">something changed</p>
<table class="normal" border="0"><tbody>
<p class="normal"><table border="0"><tbody></p>
<tr class="normal"><td width="300px">The field that was changed</td><td
width="125px">STATE</td><td width="575px"></td></tr>
</tbody></table>
<p class="italics">
(see bottom of e-mail for more details and technical information)
</p>
<p class="normal">
Needle requires a response to this e-mail.
If no response is received within a prescribed time, this e-mail
will be resent to you, and also sent to the file manager.
You may optionally forward this e-mail to another appropriate
respondent
but Needle will still be monitoring for a response from you.
</p>
<a href="
http://192.168.0.3:8080/Needle/start.html?&p1=420690677&l1=9">
Respond</a><p class="normal">
Do not reply to this e-mail with an e-mail response.
It is necessary that you click the Respond button
to properly respond to this alert.
</p>
<p class="italics">
Additional details...
<table class="normal" border="0"><tbody>
<p class="normal"><table border="0"><tbody></p>
<tr class="normal"><td width="300px">When the change happened</td><td
width="125px">21:50:25</td><td width="575px">on 08/30/10</td></tr>
</tbody></table>
</body>
</html>
----=_TGBoundary--
.
250 OK.
QUIT
221 ELIJAH Service closing transmission channel.
Here's the internet headers on the e-mail as it arrived.
Return-Path: needle@xxxxxxxxxxxxxx
Received: from imta03.westchester.pa.mail.comcast.net (LHLO
imta03.westchester.pa.mail.comcast.net) (76.96.62.29) by
sz0132.ev.mail.comcast.net with LMTP; Tue, 31 Aug 2010 02:58:45 +0000 (UTC)
Received: from ELIJAH.UNBEATENPATH ([ip address])
by imta03.westchester.pa.mail.comcast.net with comcast
id 0qtl1f02E4D2xjZ03qtlQ5; Tue, 31 Aug 2010 02:53:46 +0000
X-CAA-SPAM: 00000
X-Authority-Analysis: v=1.1 cv=ZtNYpkfGEsrQmeE3LWOG7ut6eSFqSRv3BcqX9JLKiOc=
c=1 sm=1 a=bjoO5BJrWb0A:10 a=Uc51vfO31vj6OHgIASGzNg==:17
a=AHoJO_Ans-6ajpN_WfQA:9 a=eS3ILy3VWOo-O6-zsQ7wbJENpKgA:4 a=Zaop3NGBAAAA:8
a=z_yR5i3L8K5S0-7NN7sA:9 a=32Gvy_8dC9Ivhm8OFF0A:7
a=XoJv4PSB43LHXj83IQIDlDXZiRgA:4 a=m0e0AD9m6KYA:10 a=w55ngzyDdcAA:10
a=qiWi7Edwir4A:10 a=NWVoK91CQyQA:10 a=Uc51vfO31vj6OHgIASGzNg==:117
Received: from ELIJAH.UNBEATENPATH(localhost[127.0.0.1])
by ELIJAH (IBM i5/OS SMTP V05R04M00) with TCP;
Mon, 30 Aug 2010 21:50:54 -0500
From: Needle <Needle@xxxxxxxxxxxxxx
To: Thomas Garvey <email@xxxxxxxxxxx
Date: Mon, 30 Aug 2010 21:50:53 -0500
Subject: The following activity has been detected...
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="--=_UPIBoundary"
X-Brightmail-Tracker: AAAABAr/BQAVxJeHFcVucxXFbYk=
X-Brightmail-Tracker: AAAAAA==
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: Monday, August 30, 2010 6:13 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: emails sent with QtmmSendMail API take > 5 minutes to arrive
Hi, Tom:
With regard to your delay time, that may not be unexpected, especially when
internet is involved. So many factors. If you provide more information
about the architecture(s) of the message(s) in question, perhaps we can
help. Also, have a look at the headers on the received mail; they will
indicate the point at which delays occur.
Finally, can you elaborate on the meaning of this?
Also, the joblog on the task that sends the e-mails (using the API)
includes every statement in the outgoing e-mails,
In this context, what does "every statement in the outgoing e-mails" mean?
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
I talk to myself at work because nobody else here understands me.
We're using the QtmmSendMail API to send e-mails. However, it can
take more than 5 minutes before they arrive at their destination.
What I don't know about e-mail could fill volumes, but I'm hoping
maybe it's just some configuration setting on the SMTP server on my
IBM i.
Also, the joblog on the task that sends the e-mails (using the API)
includes every statement in the outgoing e-mails, thus filling the
joblog quickly when it's allowed to run for any decent length of time.
Can this be controlled or limited, or should I just plan on ending the
task regularly?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.