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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve remote email address to notify local machine

Status
Not open for further replies.

ChrisRChamberlain

Programmer
Mar 23, 2000
3,392
GB
Hi all

Have now got a couple of clients requiring support via pcAnywhere whose ASDL service providers generate different IP addresses every time they reboot and logon.

Have developed an application that retrieves the new IP address through WMI and then uses CDO to send an email back to base once the remote machine is online.

That works providing the remote machine's email address is correct, so the email address is currently hard coded for each client.

Would like to make this utility generic by retrieving a valid email address from the client machine and using that address rather than a hard coded address.

One cannot assume any knowledge of the remote machine's email client(s).

What ideas please?

TIA

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 

Have since found that CDO accepts bogus 'From' email addresses and so am now retrieving the RegisteredOrganization and RegisteredOwner values from the registry and adding that to the remote IP address to provide the required information to be returned from the remote machine.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top