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

2009-07-19 Thread Benoît Minisini
> When using SmtpClient to send email the email is often rejected ithe the > error "SHOULD have Date: but does not" > > Have tried putting date in the body of the message - still get the same > error > > SmtpClient has .Subject but doesn't have .Date field. > > Can any one help? > > Bill Lancaster

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

2009-07-14 Thread Jean-Yves F. Barbier
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("a...@xx.com") > hMsg.Subject =

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

2009-07-14 Thread Toni
Hi Bill, I think that smtp error 550 indicates that you aren't allowed to relay without authentification. ( An yes, the rest of the message is either just a tip or an erroneous description) In the attached code I see that no credentails are sent, and so, this makes me think that effectively thi

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

2009-07-13 Thread Doriano Blengino
Bill-Lancaster ha scritto: > Dear Benoît > > here is the code: > > PUBLIC SUB Button4_Click() > DIM hMsg AS NEW SmtpClient > > hMsg.To.Add("a...@xx.com") > hMsg.Subject = "Garethn" > hMsg.Add("Angi, had Garry sent paper work to us?") > hMsg.From = "bill-lancas...@lineone.ne

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

2009-07-13 Thread Bill-Lancaster
Dear Benoît here is the code: PUBLIC SUB Button4_Click() DIM hMsg AS NEW SmtpClient hMsg.To.Add("a...@xx.com") hMsg.Subject = "Garethn" hMsg.Add("Angi, had Garry sent paper work to us?") hMsg.From = "bill-lancas...@lineone.net" hMsg.Host = "smtp.tiscali.co.uk" h

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

2009-07-12 Thread Benoît Minisini
> When using SmtpClient to send email the email is often rejected ithe the > error "SHOULD have Date: but does not" > > Have tried putting date in the body of the message - still get the same > error > > SmtpClient has .Subject but doesn't have .Date field. > > Can any one help? > > Bill Lancaster

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

2009-07-12 Thread Bill-Lancaster
When using SmtpClient to send email the email is often rejected ithe the error "SHOULD have Date: but does not" Have tried putting date in the body of the message - still get the same error SmtpClient has .Subject but doesn't have .Date field. Can any one help? Bill Lancaster -- View this mes