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 8 4288
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
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
"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
"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
> 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/
-
> 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/
-
> 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/ -
> 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/ - This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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.
|
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...
|
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...
|
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'...
|
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...
|
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...
|
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...
|
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...
|
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'...
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
| |