Hi,
I using a smtp.ocx to send my email through access 2K, here is my code,
SMTP.Server = "mail.server.com" 'my mail server name
SMTP.MailFrom = "from@hotmail.com"
SMTP.SendTo = "to.hotmail.com"
SMTP.MessageSubject = "testing for smtp"
SMTP.MessageText = "hi"
SMTP.Connect
But then the email didnt send at all. May i know what wrong?
when i try to get the status of smtp,
it said this property is not supported.
lblStatus = SMTP.status
This is urgent, pls help, thanks
I using a smtp.ocx to send my email through access 2K, here is my code,
SMTP.Server = "mail.server.com" 'my mail server name
SMTP.MailFrom = "from@hotmail.com"
SMTP.SendTo = "to.hotmail.com"
SMTP.MessageSubject = "testing for smtp"
SMTP.MessageText = "hi"
SMTP.Connect
But then the email didnt send at all. May i know what wrong?
when i try to get the status of smtp,
it said this property is not supported.
lblStatus = SMTP.status
This is urgent, pls help, thanks