Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbSendMail SMTP Setup

Status
Not open for further replies.

MattSTech

Programmer
Joined
Apr 10, 2003
Messages
333
Location
US
As discussed in:
Thread222-820981

The vbSendMail library is a good start to sending plain text email.

I have a registration application that gets information from a users pc (hardware and installed software), writes out a log file of that information, then should automatically generate an email containing the text of the log file.

This works on a pc that has a SMTP server set up, how would I go about automatically generating that email with just an internet connection. Maybe temporarily setting up the SMTP?

Thanks,

Matt
 
This has got to be possible. Microsoft Office products use a send error report button when an error occurs and they have to accommodate for people using Yahoo or Hotmail and no SMTP Server being setup or no Outlook being set up.

Thanks,

Matt
 
Any direction, perhaps even to give up my effort, would be appreciated.

Matt
 
If they have an internet connection, can't they use the SMTP server from their service provider?

Robert
 
I would assume so, but how would I set that up programatically? I believe I have to specify the IP or let it autodetect, but at that point it simply times out on machines with no specified SMTP Server.

Thanks for the response.

Matt
 
Sometimes when I use vbSendmail in a program, I have an option screen to let the user set the IP address for the SMTP server. The user then has to contect the ISP and get the address for it and select that in the options. I think you can also specify it like you would in a e-mail program, like "mail.myisp.com", but I'm not sure.

Robert
 
Thanks for the suggestion. I was hoping to eliminate the user interaction as this program will only one one time. I use the software to get compatibilty information before I send users my beta software, just really for documentation purposes. They currently just attach the log file to an email, but I would like to spare them that trouble. Could I possibly get an account with some SMTP server and just use that from around the country or is that not how SMTP works?
 
I suppose you could use your own account to do this. I'm not really up on how those things work. Ask your ISP and see if they can help you there.

Sorry I couldn't be of more assistance.

Robert
 
I thank you for sticking with the thread. If I find something I will post it here.

Thanks again.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top