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

Doriano Blengino doriano.blengino at ...1909...
Tue Jul 14 07:34:30 CEST 2009


Bill-Lancaster ha scritto:
> Dear Benoît 
>
> here is the code:
>
> 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
> have Date: but does not' (delivery attempts: 1)
>   
My two cents... "Message SHOULD have blah blah blah" is quite different 
from "Message MUST have blah blah blah"... and SHOULD not be an error.

I think the guys at tiscali.co.uk don't respect the standard, perhaps in 
a temptative to reduce spamming. Perhaps they saw that ms-outlock always 
sends a "Date:" field, and so everyone has to do so... in spite of the 
philosophy of "be conservative when transmitting, and be liberal when 
receiving".

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."





More information about the User mailing list