Recurrent phantom mailings with net/smtp

Hi –

I’ve got a script that sends an email message to me, using the
net/smtp library. After the message is sent – in the most recent
case, for weeks after the message is sent – I get re-sendings of the
message, at the rate of about one every three or four days.

I can give more info if necessary but I was wondering whether this was
enough for anyone to identify what the problem is and what I can do to
fix it.

Thanks –

David

unknown wrote:

After the message is sent – in the most recent
case, for weeks after the message is sent – I get re-sendings of the
message, at the rate of about one every three or four days.
David

It sounds like there’s something wrong with the mail server, rather than
the library. Maybe there’s an alias loop, or the receiving server is
saying it rejected the message when it actually delivered it, and the
sending server keeps trying… Who knows. Without the actual email,
headers and all, I doubt anyone here can help much. (And I personally
wouldn’t post my headers, but I’m paranoid.)