Can VB.Net call for a Dial-Up connection?

  • Thread starter Thread starter felecha
  • Start date Start date
F

felecha

I have an app that runs as a Service and whenever it receives a
message from another machine in our system, indicating a problem that
needs the customer's attention, the Service sends an email using
.Net's SMTPMail classes. It just sends it to 127.0.0.1 and we have a
simple email server on the local machine which receives the email and
the customer can fetch it from any mail client. It works fine.

Now we have a customer who wants the system to be able to send an
email to an offsite email address, so I have to figure out if I can
get my Service to call for a Dial Up connection and when it's
connected, then send the email to the IP of the offsite mail server.

Anyone know how to do that?

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Can you send offsite email from where you're at currently? How did you send
this message?

Um...just change the "To:" address?

Look into SMTP "smarthost"

Jeff
 
If I change the To, it just runs right by it with no action, even
though I created a DialUp connection in Internet Options and set the
properties for it. I hoped that just like when you send from Outlook
Express, the SMTPMail.Send command would kick off the Dialup, but it
does nothing.

And I'm afraid the WininetAPI may be the only answer. I spent all day
googling for answers and came to that conclusion. Bummer.

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Why do you need dialup? Don't you have access to the internet from this
machine??

Do you understand how SMTP works?

Jeff
 

Ask a Question

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.

Ask a Question

Back
Top