With the final bits you need to explictly specify the SMTPServer as a
propety on the SmtpMail class.
For example:
SmtpMail.SmtpServer =3D "machine"
SmtpMail.Send(message)
Hope this helps,
Scott
-----Original Message-----
From: Brzeski, Tom [mailto:Tom.Brzeski@o...]
Sent: Wed 1/30/2002 11:57 AM
To: ASP+
Cc:
Subject: [aspx] RE: Smtp.Sent problems in final .Net Frameword
I have similar problems
Anyone out there with solution?
-----Original Message-----
From: oel [mailto:oel@o...]
Sent: Monday, January 28, 2002 5:49 AM
To: ASP+
Subject: [aspx] Smtp.Sent problems in final .Net Frameword
Hi all,
I have been working with .Net Frameword Beta and release candidate using
next code in aspx page:
Dim objMail as New MailMessage
objMail.BodyFormat =3D MailFormat.Html
objMail.To =3D "xxx@x..."
objMail.From =3D "xxx@x..."
objMail.Subject =3D "T=EDtulo"
objMail.Body =3D "Bogy"
SmtpMail.Send(objMail)
Now, I have install the last definitive .NetFramework and I get an error
saying "SendUsing" bad parameters....
Sombody can help me????
Thanks,
oel.