F
fniles
Is there any way to send an email (either from a VB program or ASP or HTML)
if the machine has no Outlook and/or SMTP server ?
Thank you
if the machine has no Outlook and/or SMTP server ?
Thank you
fniles said:Is there any way to send an email (either from a VB program or ASP or HTML)
if the machine has no Outlook and/or SMTP server ?
Thank you
fniles said:Is there any way to send an email (either from a VB program or ASP or HTML)
if the machine has no Outlook and/or SMTP server ?
Thank you
Bwig Zomberi said:If it is your local computer, then installing IIS will provide a local
SMTP server. If you hosting on a shared server, the hosting provider would
have already configured an SMTP server. In most cases, you wouldn't have
to specify an SMTP server address. You just need to simply set the from
and to addresses and call send.
Is there any way to send an email (either from a VB program or ASP or
HTML) if the machine has no Outlook and/or SMTP server ?
| Is there any way to send an email (either from a VB program or ASP or
HTML)
| if the machine has no Outlook and/or SMTP server ?
| Thank you
|
If you need VB.Net code...I have no idea. One would
hope that it's somewhere in that 300+MB of runtime
baggage, without needing to install Outlook.
I once wrote a VB6 catalogue program that had the ability to place orders
that had to be send to a e-mail adress of a reseller
after strugling with lots of methods ( registry etc etc ) to get the local
SMTP server and at one point running into a big problem where the users had
a Lotus Domino system i found out that it was much easier to send a form
posting over HTTP to a server that i controled and generate the e-mail from
there
to be send to the order department of the company where i wrote the program
for .
I then only needed the local email adress so the order department could
optionally reply to the placed order
Hope this helps
Michel
smtp is a very simple protocol.
Well the program i wrote was installed from a cd-rom ( DVD in a later
stage ) and had to function "out of the box"
and i bet not a lot of people ( end consumers ) know there e-mail settings
so i guess the same aplies as of today
Also you forget about the Lotus Domino situation or if there is a Outlook
server installed on a company network
( for a fact i never got Lotus to work )
So in these sitautions my solution was / is just fool proof and verry
simple to implement
For VB6 i used the VBSendmail.dll and in .Net you can just use the builtin
framework classes however they are perfect in a "simple" situation
even on a MS Exchange network it will not work if SMTP is closed on the mail
server ( this is default on Exchange ) , for a fact in the company i
currently work for we have a Linux mail server especially for our .Net apps
as the admins want to keep the "recomended" settings on the Exchange server
.
Hmmm... That's interesting. Not having ever done anything with Exchange
admin, I know nothing about setting it up or configuring it. Or what is
recommended best practice or not. But, I know on every corporate exchange
network I have been on, I have no problems sending emails using the smtp
classes in .NET as long as I set the authentication properly...
Helmut,
Default behaviour, exe's don't go trhough almost through not any
mailserver anymore.
Mailservers do not change the mail.
I gave up trying to understand what happens in the heads of IT admins.
Just yesterday I sent an update of my app to my customer - appended to an
email. This time I sent it to his private email address, not his company email
account.
Last time I had to send it twice, the exe was stripped from my email and after
hours trying to get it released from the IT he phoned me to send it to his
private
email account. There he _could_ download the exe to his company PC!
Funny how they have secured their company net, isn't it?
Helmut.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.