Bill-Lancaster ha scritto:
> Dear Benoît
>
> here is the code:
>
> PUBLIC SUB Button4_Click()
> DIM hMsg AS NEW SmtpClient
>
> hMsg.To.Add("[email protected]")
> hMsg.Subject = "Garethn"
> hMsg.Add("Angi, had Garry sent paper work to us?")
> hMsg.From = "[email protected]"
> 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;[email protected]
> 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."
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user