473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Sending email to an Exchange Server


I think I've confused myself completely here :-)

I have used System.Web.Mail, but am not sure if this works with Exchange Server 5.5. I asked the client if they're email server supported SMTP, and got the following reply (exact quote):
Exchange 5.5 uses IMS connector for communication between the internal and the external world. IMS is based on SMTP Protocol.

For mail flow within the organization Exchange 5.5 uses Message Transfer Agent.

Does this mean that SMTP is not used on their internal LAN, and I can't use System.Web.Mail?

And if not, how do I send emails from within a stand alone VB.Net application?

BTW, the computer running the VB.Net program is Windows 2000 Pro and will NOT have Outlook installed.

Regards,
Frank

Nov 20 '05 #1
8 4324
DC
Frank:

In the case of WebForms, SMTP email sending is a piece of cake, since it
relies on the server SMTP services being available.

On client WinForms, however, you have to do more work. If you use SMTP
(using System.Web.Mail) then you are forced to rely on SMTP services running
on each client, which will not be available in most cases.

If the computer does NOT have Outlook installed, you will not be able to use
Exchange, though. From my experience with Outlook and Exchange 5.5 - you
will need to log into an Outlook profile in order to create mail objects. If
the Exchange server is not available (which it wont because Outlook isnt
installed and a profile wont be created on the client), you wont be able to
call the Login method and pass it the necessary profile data. You dont HAVE
to specify a profile when you login - if you leave the Profile name blank it
uses the default profile on the client, but this still requires a profile be
present.

Sending email requires SOME kind of protocol. If Outlook isnt available,
perhaps you can connect to an SMTP server elsewhere, but this most certainly
prevents you from using Exchange to do things like save sent messages, for
example.

"Frank" <frank2003AToptusnetDOTcomDOTau> wrote in message
news:%2*****************@TK2MSFTNGP09.phx.gbl...

I think I've confused myself completely here :-)

I have used System.Web.Mail, but am not sure if this works with Exchange
Server 5.5. I asked the client if they're email server supported SMTP, and
got the following reply (exact quote):
Exchange 5.5 uses IMS connector for communication between the internal and
the external world. IMS is based on SMTP Protocol.

For mail flow within the organization Exchange 5.5 uses Message Transfer
Agent.

Does this mean that SMTP is not used on their internal LAN, and I can't use
System.Web.Mail?

And if not, how do I send emails from within a stand alone VB.Net
application?

BTW, the computer running the VB.Net program is Windows 2000 Pro and will
NOT have Outlook installed.

Regards,
Frank
Nov 20 '05 #2
DC
Frank:

In the case of WebForms, SMTP email sending is a piece of cake, since it
relies on the server SMTP services being available.

On client WinForms, however, you have to do more work. If you use SMTP
(using System.Web.Mail) then you are forced to rely on SMTP services running
on each client, which will not be available in most cases.

If the computer does NOT have Outlook installed, you will not be able to use
Exchange, though. From my experience with Outlook and Exchange 5.5 - you
will need to log into an Outlook profile in order to create mail objects. If
the Exchange server is not available (which it wont because Outlook isnt
installed and a profile wont be created on the client), you wont be able to
call the Login method and pass it the necessary profile data. You dont HAVE
to specify a profile when you login - if you leave the Profile name blank it
uses the default profile on the client, but this still requires a profile be
present.

Sending email requires SOME kind of protocol. If Outlook isnt available,
perhaps you can connect to an SMTP server elsewhere, but this most certainly
prevents you from using Exchange to do things like save sent messages, for
example.

"Frank" <frank2003AToptusnetDOTcomDOTau> wrote in message
news:%2*****************@TK2MSFTNGP09.phx.gbl...

I think I've confused myself completely here :-)

I have used System.Web.Mail, but am not sure if this works with Exchange
Server 5.5. I asked the client if they're email server supported SMTP, and
got the following reply (exact quote):
Exchange 5.5 uses IMS connector for communication between the internal and
the external world. IMS is based on SMTP Protocol.

For mail flow within the organization Exchange 5.5 uses Message Transfer
Agent.

Does this mean that SMTP is not used on their internal LAN, and I can't use
System.Web.Mail?

And if not, how do I send emails from within a stand alone VB.Net
application?

BTW, the computer running the VB.Net program is Windows 2000 Pro and will
NOT have Outlook installed.

Regards,
Frank
Nov 20 '05 #3

"DC" <so*****@microsoft.com> wrote in message news:ub***************@TK2MSFTNGP09.phx.gbl...

If the computer does NOT have Outlook installed, you will not be able to use
Exchange, though. From my experience with Outlook and Exchange 5.5 - you
will need to log into an Outlook profile in order to create mail objects. If
the Exchange server is not available (which it wont because Outlook isnt
installed and a profile wont be created on the client), you wont be able to
call the Login method and pass it the necessary profile data. You dont HAVE
to specify a profile when you login - if you leave the Profile name blank it
uses the default profile on the client, but this still requires a profile be
present.


So basically if I can't get access to a SMTP server, (and therefore can't use System.Web.Mail), then my only other option is to have a copy of Outlook installed on the machine so as to be able to send emails via an Exchange Server.

But if I automate Outlook, wont I end up tripping the security warnings? Kind of painful if your application is supposed to run un-attended!

Regards,
Frank

Nov 20 '05 #4

"DC" <so*****@microsoft.com> wrote in message news:ub***************@TK2MSFTNGP09.phx.gbl...

If the computer does NOT have Outlook installed, you will not be able to use
Exchange, though. From my experience with Outlook and Exchange 5.5 - you
will need to log into an Outlook profile in order to create mail objects. If
the Exchange server is not available (which it wont because Outlook isnt
installed and a profile wont be created on the client), you wont be able to
call the Login method and pass it the necessary profile data. You dont HAVE
to specify a profile when you login - if you leave the Profile name blank it
uses the default profile on the client, but this still requires a profile be
present.


So basically if I can't get access to a SMTP server, (and therefore can't use System.Web.Mail), then my only other option is to have a copy of Outlook installed on the machine so as to be able to send emails via an Exchange Server.

But if I automate Outlook, wont I end up tripping the security warnings? Kind of painful if your application is supposed to run un-attended!

Regards,
Frank

Nov 20 '05 #5
> So basically if I can't get access to a SMTP server, (and therefore =
can't use System.Web.Mail), then my only other option is to have a copy = of Outlook installed on the machine so as to be able to send emails via = an Exchange Server.
But if I automate Outlook, wont I end up tripping the security warnings? = Kind of painful if your application is supposed to run un-attended!


There are solutions that support queueing of messages - so
that if you cannot get a connection to an SMTP server you can queue the messages
to disk - and then send all of those queued messages whenever you are ready (and
can access the mail server). IP*Works! Is one of these
(http://www.nsoftware.com/products/sh...x?part=IPN6-A).
Regards,
Lance R.
/n software
http://www.nsoftware.com/

-

Nov 20 '05 #6
> So basically if I can't get access to a SMTP server, (and therefore =
can't use System.Web.Mail), then my only other option is to have a copy = of Outlook installed on the machine so as to be able to send emails via = an Exchange Server.
But if I automate Outlook, wont I end up tripping the security warnings? = Kind of painful if your application is supposed to run un-attended!


There are solutions that support queueing of messages - so
that if you cannot get a connection to an SMTP server you can queue the messages
to disk - and then send all of those queued messages whenever you are ready (and
can access the mail server). IP*Works! Is one of these
(http://www.nsoftware.com/products/sh...x?part=IPN6-A).
Regards,
Lance R.
/n software
http://www.nsoftware.com/

-

Nov 20 '05 #7
>
There are solutions that support queueing of messages - so
that if you cannot get a connection to an SMTP server you can queue the messages
to disk - and then send all of those queued messages whenever you are ready (and
can access the mail server). IP*Works! Is one of these
(http://www.nsoftware.com/products/sh...x?part=IPN6-A).


The problem here is I will never get access to a SMTP server.

After doing some searching around the web, it appears I could (might?) use CDO.

Is this possible in VB.Net with Exchange 5.5? If so, any pointers to some sample code?

Regards,
Frank

Regards,
Lance R.
/n software
http://www.nsoftware.com/

-

Nov 20 '05 #8
>
There are solutions that support queueing of messages - so
that if you cannot get a connection to an SMTP server you can queue the messages
to disk - and then send all of those queued messages whenever you are ready (and
can access the mail server). IP*Works! Is one of these
(http://www.nsoftware.com/products/sh...x?part=IPN6-A).


The problem here is I will never get access to a SMTP server.

After doing some searching around the web, it appears I could (might?) use CDO.

Is this possible in VB.Net with Exchange 5.5? If so, any pointers to some sample code?

Regards,
Frank

Regards,
Lance R.
/n software
http://www.nsoftware.com/

-

Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Sven Templin | last post by:
Hello all, our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet.
17
by: Bonj | last post by:
Right guys. (I would like a solution to this in VB6 as this is what our needy app is written in, but any solutions that involve .NET would be much appreciated likewise as I could instantiate...
2
by: Gaz | last post by:
Hi all I am currently trying to send and email via exchange except I'm having a nightmare getting it working, you'd think this would be pertty simple wouldn't you? I have added a reference to...
2
by: RedEye | last post by:
Hello, I am trying to create a class to send email via POP3 or Exchange. Everything works fine when sending via POP3 but fails when sending via exchange. Error: Could not access 'CDO.Message'...
2
by: Jim in Arizona | last post by:
I've made an application that is a computer problems (tickets) system. The employee goes to a web page and posts the comptuer problem they're having. Then, the IS staff goes to another webpage...
8
by: Frank | last post by:
I think I've confused myself completely here :-) I have used System.Web.Mail, but am not sure if this works with Exchange Server 5.5. I asked the client if they're email server supported SMTP, and...
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
1
by: Gilbert Cheung | last post by:
Hello. I am writing a website for my company. There is a sign-up form that requires us to send a confirmation email to our customer. Our company uses Exchange Server 2000 as our mail server. We...
14
by: sridhar | last post by:
iam having user account on an exchangeserver. with that can i send an email using python? if iam using the following code iam getting error fromAddress = 'sridhar_kasturi@satyam.com'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.