Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMTP Email

Status
Not open for further replies.

lingyi

Programmer
Apr 11, 2001
65
SG
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top