Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP application use server SMTP?
Message
 
 
À
08/06/2010 12:35:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01467939
Message ID:
01467955
Vues:
53
>>>Yes, of course, you are right. Let me describe the problem. And some of it I don't quite understand but I am sure you will. The customer tells me that they want to use DHCP to get IP address dynamically (on client PCs). But they say that they cannot do it because of my application. Supposedly, if I understand correctly, the SMTP is somehow "tied" to IP. And if IP of the machine changes, the SMTP cannot be used. Therefore for PCs that use my application they have to assign static IPs. Does it make sense?
>>
>>Yes, it makes sense. Different kinds of servers should have fixed IP addresses. This includes print server, file servers, etc. Having the IP address change regularly - which may happen with DHCP ("assign IP address automatically") - is problematic in such cases.
>>
>>If you have any kind of server (any kind of program that other computers will need to access), you should assign the computer a fixed IP address.
>>
>>This should be no big deal for configuration; just configure that one machine for a specific IP address. Other machines (the workstations) can still get their IP address automatically, through DHCP.
>
>Update: The above applies if your machine is the server. If you access another SMTP server, then your machine is the client, and doesn't need a fixed IP address.

I re-read the customer message and I think I understand the issue better. Let me explain to you and Borislav to see if there is a solution:

The customer - for security reasons - restricts the use of SMTP. Therefore, they control access on the Exchange server via a list of authorized IP addresses. Therefore, they assign a bunch of static IP addresses for PCs using my application and enter those IPs in the list of authorized (on the Exchange server). Therefore, in their case, if a PC changes the NIC or PC itself gets replaced, the user has an issue emailing. And we have hit this problem a couple of times already. So they want to know if my application can send email from the server and not from the client PC. I suppose the SMTP will be the same but initiated on the server instead of on the client PC.

Now, does it make sense and is it possible to do what they want?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform