Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email'ing in a windows form
Message
 
To
21/03/2003 18:17:09
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00768830
Message ID:
00768955
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
You normally give your Exchange IP address.


>Hello,
>
>I have the following ...
>
> Dim oMM As MailMessage
> oMM = New MailMessage()
> oMM.From = "bagwellk@telspan.com"
> oMM.To = "bagwellk@telspan.com"
> oMM.Subject = "Billing Test"
> oMM.Body = "Test, test, test. "
> SmtpMail.SmtpServer = "localhost"
> SmtpMail.Send(oMM)
>
>I get ... " Could not access CDO.message object."
>I know my smtp server is running on my local machine. I have tried many different server names "myserver.mydomain.com" ect. Curiously enough, when I have a blank server name, I get an email created in my inetpub\mailroot\queue, but it never gets sent.
>
>Thanks in advance,
>Ken
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform