[Gambas-user] SmtpClient: error 550-'Message SHOULD have Date: but does not'

Jean-Yves F. Barbier 12ukwn at ...626...
Tue Jul 14 12:35:31 CEST 2009


Bill-Lancaster a écrit :
......

SHOULD is just a warning from tiscali smtp complaining because you SHOULD
have a Date: Header (as it is not MUST, you can safely ignore this)

> PUBLIC SUB Button4_Click()
>     DIM hMsg AS NEW SmtpClient
> 
>     hMsg.To.Add("angi at ...2232...")
>     hMsg.Subject = "Garethn"
>     hMsg.Add("Angi, had Garry sent paper work to us?")
>     hMsg.From = "bill-lancaster at ...2231..."
>     hMsg.Host = "smtp.tiscali.co.uk"
>     hMsg.Port = 25  '465
>     hMsg.Alternative = FALSE
> 
>     hMsg.Send()
> CATCH 
>   Message.Error(Error.Text)
> END
> 
> I don't know what kind of server it is (as you can see its tiscali.co.uk)
> 
> Here is the full error report:
> 
> Reporting-MTA: dns; mk-filter-2-a-1.mail.uk.tiscali.com
> 
> Final-Recipient: rfc822;angi at ...2233...
> Action: failed
> Status: 5.0.0 (permanent failure)
> Remote-MTA: dns; [193.22.244.114]
> Diagnostic-Code: smtp; 5.1.0 - Unknown address error 550-'Message SHOULD

Error 550 is: Relay Denied, means tiscali smtp refuses to handle this email
SMTP Diagnostic Code 510: Bad Email Address

In general, that means you sent an e-mail that either didn't have had:
* A valid recipient address,
* A valid recipient address in one of the headers: TO: CC: BCC:

But, there is also a less documented, dirty, sneaky, fucky possibility:
if your ISP is authenticating you through its DNS researches and you use
your own DNS, then the (legal) relay is denied because of that.
orange, formerly known as france telecom used to do that in france: this is
particularly a moronic way to do because, as it is not a "normal" error, you
can't know it is it, unless somebody tells you... but you can't do nothing
against that, except using another smtp provider - or being your own with all
the limitations involved, such as being refused because you're not an
"official" smtp.

As I'm not a smtp god, I might have forgotten some'.

First, change your DNS to the tiscali ones, resend an email and see what comes
out.

If you're still stuck, send the whole header of your email for analysis.

> have Date: but does not' (delivery attempts: 1)

Normal: you've been bounced at 1st attempt.

JY
-- 
Sex is just one damp thing after another.




More information about the User mailing list