On Wed, 13 Dec 2023 09:44:49 -0500, Anthony R. Gold wrote:
> Using Agent 2.0 I frequently wish to use Post / Forward Verbatim to send on
> to a third party as a attachment an email message that I had received. With
> the majority of messages this works well but for a minority the forward does
> not leave Agent via SMTP and just sits hanging as a red colored item in
> Agent's Outbox. Does anyone know why this happens or can offer me any tips
> on how to deal with it?
There could be a number of reasons ***. You will need to start by finding
out why this is happening.
If you are getting a pop-up error message when trying to send your email,
the best place to start is by noting down what that pop-up error says.
Otherwise, the best place to start would be by getting Agent to create a
verbose log while trying to send the message.
See below for how to create a verbose log †††.
*** There is more than one reason why this could happen.
Here are some examples:
(a) You clicked 'Send Later' instead of 'Send'. The message in
the outbox has an up-arrow icon at the left. You can use
"Online >> Post Usenet and Email messages" to send it, or
Agent might ask you when you close Agent.
(b) Before clicking 'Send', you deleted the original email that
you were forwarding.
(c) You clicked 'Send Later' to put the email in the outbox for
sending later. You deleted the original email that was
being forwarded, before your own email was actually sent
from the outbox.
(d) Your mail server rejected your email, because the total
message size exceeded the maximum your server allows.
You might, for example, have forwarded an email with embedded
pictures, and added a few more pictures of your own.
(e) Your mail server rejected your email, because it contained an
invalid recipient address.
(f) Your mail server rejected your email for some other reason.
†††Here is how to create a verbose log
1. With Agent closed,
* Edit your AGENT.INI file
* In the [Debugging] section of AGENT.INI,
change VerboseLog=0 to VerboseLog=1.
2. _Before_ you attempt to send your email, open the Agent 2.0
Log window
Window >> Open Log
3. Leave the Log window open while attempting to send the email.
4. After attempting to send the email, look in the already-open
Log window.
In the Log window, commands from Agent to the mail server
are prefixed with ‘<’ while the responses from the mail server
to Agent are prefixed with ‘>’.
< EHLO ....
> 250 ...
< MAIL FROM: ....
> 250 ...
< RCPT TO: ....
> 250 ...
< DATA
> 354 ...
...
> 250 ...
Look for any responses from the mail server which begin with a
number in the range 300-499.
Also Look for any error messages with or without a '<' or '>'.
You cannot copy the text from the Log window, unfortunately.
But you can get Agent to create a debug log file with the same content
as the Log window.
5. If the Agent 2.0 "Online" pull-down menu does not have these two
entries at the bottom
"Debug Log to AGENT.LOG"
"View Debug Log Options"
then:
5.1 Dismiss the "Tools" pull-down menu
5.2 Press Ctrl+Shift+D
5.3 Look again.
6. In "View Debug Log Options", make sure that all the
options are UNchecked.
7. To create a debug log file of Agent trying to send the email
7.1 Turn on "Debug Log to AGENT.LOG" just _before_
sending the email
7.2 Try to send the email.
7.4 When the attempt ends, make sure you turn OFF
"Debug Log to AGENT.LOG".
8. Look for the file "agent.log" in Agent's data folder.
--
Kind regards
Ralph Fox
🦊
Between the hand and the mouth, the broth is many times shed.