473,320 Members | 1,930 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,320 software developers and data experts.

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

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
*-----------------------*
Nov 21 '05 #1
4 3630
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

"felecha" <fe*******@yahoo-dot-com.no-spam.invalid> wrote in message
news:41**********@Usenet.com...
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
*-----------------------*

Nov 21 '05 #2
Try using the WinInet API

Clas
"felecha" <fe*******@yahoo-dot-com.no-spam.invalid> wrote in message
news:41**********@Usenet.com...
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
*-----------------------*

Nov 21 '05 #3
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
*-----------------------*
Nov 21 '05 #4
Why do you need dialup? Don't you have access to the internet from this
machine??

Do you understand how SMTP works?

Jeff
"felecha" <fe*******@yahoo-dot-com.no-spam.invalid> wrote in message
news:41**********@Usenet.com...
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
*-----------------------*

Nov 21 '05 #5

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

Similar topics

2
by: Firewalker | last post by:
Hello guys, I was wondering if you can give m little help with this. I am trying to write a small program that dial a phone number through the modem. Is it possible to do it in java? Any help? I...
5
by: Bura Tino | last post by:
Sorry if this is offtopic. I'm developing a website which, among other things, has contacts. I would like my users to be able to click on a number and have the computer dial that number. Is this...
2
by: Firewalker | last post by:
Hello guys, I was wondering if you can give me little help with this. I am trying to write a program that dial a phone number through the modem. Can you give me little help with this? Thanks...
0
by: anonymous | last post by:
Currently using the auto dial code in access to speed dial phone numbers from a form in the database. If we switch to VOIP will we still be able to do this? If so, how?
1
by: ahmed fat-hi | last post by:
hi every body to make a call using TAPI i do the following: 1- initiate connectiion 2- Select an Address 3- make a call when i make a call i execute the function ITAddress::CreateCall the...
2
by: mohamed farouk | last post by:
hi everyone i have sql database containing the name of person and his telephone number, i select the name from combo box and I want to click on the button make dial action so i can open the port...
3
by: mohamed farouk | last post by:
hi everyone i have a database on sql server that contain the name and the telephne number ,i have a combo box that contain the names i want to put button so when i click on it open port in the...
0
by: Ghost | last post by:
Hello. Can anybody showme some example of how can I dial a phone number with AT commands
1
PEB
by: PEB | last post by:
Hi all, I'm looking for a clue about how can i dial a phone number stored in access field using Access Basic... I can do it using subs like SendKeys that sends the numbers to the respective...
0
by: telcoboy | last post by:
Hi Guys, I;m a bit out of my depth here and was wondering if someone could point me in the right direction. We have an Oracle Database and want to put a button on the form to dial the number in the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
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...
1
isladogs
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
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....
0
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

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.