Hi there,
why is it that if i create a web application, i can access System.Web.Mail
object, but when i try to reference this in my VB.NET windows app, it doesnt
show the Mail object?
What is the solution if i want to send email through a .NET windows
application?
thanks, 4 941
Hi,
Add a reference to system.web to your app.
Ken
----------------
"Paul M" <mi******@hotmail.com> wrote in message
news:uY**************@TK2MSFTNGP10.phx.gbl... Hi there,
why is it that if i create a web application, i can access System.Web.Mail object, but when i try to reference this in my VB.NET windows app, it doesnt show the Mail object?
What is the solution if i want to send email through a .NET windows application?
thanks,
Hi Paul,
What kind of email, send batch mail or opening the mail agent from the user?
Cor why is it that if i create a web application, i can access System.Web.Mail object, but when i try to reference this in my VB.NET windows app, it
doesnt show the Mail object?
What is the solution if i want to send email through a .NET windows application?
* "Paul M" <mi******@hotmail.com> scripsit: why is it that if i create a web application, i can access System.Web.Mail object, but when i try to reference this in my VB.NET windows app, it doesnt show the Mail object?
What is the solution if i want to send email through a .NET windows application?
Are you sure "System.Web.dll" is referenced?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
thanks everybody.
no, i didnt have system.web DLL referenced.
regards,
Paul.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ej**************@TK2MSFTNGP09.phx.gbl... * "Paul M" <mi******@hotmail.com> scripsit: why is it that if i create a web application, i can access
System.Web.Mail object, but when i try to reference this in my VB.NET windows app, it
doesnt show the Mail object?
What is the solution if i want to send email through a .NET windows application?
Are you sure "System.Web.dll" is referenced?
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Adrian |
last post by:
What does this error mean?
Could not access CDO Message Object.
Many thanks.
|
by: Phil Mc |
last post by:
Hi has anyone come accross the problem....
with referance to System.Web.Mail.MailMessage and
System.Web.Mail.SmtpMail
THIS WORKS FINE
mail=new MailMessage();
mail.From =...
|
by: martin |
last post by:
Hi,
I have created a class that is totally seperate from my web application.
However this class is used extensivly by the web application for stuff like
data access.
I wish to add a function to...
|
by: MSG Servicos de Informatica |
last post by:
Hi MSDN Team!
I have a doubt about the "MailMessage" class in Framework .NET 1.1.
My SMTP server works in a local network that no have access to the internet
for security reasons. And in my...
|
by: Eric Sheu |
last post by:
Greetings,
I have been searching the web like mad for a solution to my SMTP problem. I
am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a
web site I have created to...
|
by: antonyliu2002 |
last post by:
I've set up the virtual smtp server on my IIS 5.1 like so:
1. Assign IP address to "All Unassigned", and listen to port 25.
2. Access Connection granted to "127.0.0.1".
3. Relay only allow...
|
by: Ray Booysen |
last post by:
Hi all
I'm sending email via ASP.NET in HTML mode. Each email has exactly one
attachment and I do have full access to the SMTP server. However, if I
send the email in HTML format, the...
|
by: raj200809 |
last post by:
when i m sending mail i received error from symantec Antivirus" Your email message was unable to be sent because your mail server rejected the message
550-5.7.1 the ip you’re using to send mail is...
|
by: Anthony P. |
last post by:
Hello Everyone,
I'm attempting to create a new MailMessage object by following a
tutorial and I can't seem to get it right according to VS 2008. I'm
hoping someone here can help me find out what...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |