HI,
I'm working on an application that among other thing sends mails using mailx.
I've added SMTP support for this application with purpose to replace the use of mailx.
I want to spare the application users from entering the SMTP Server and Port parameters, and get these values during installation/upgrade.
Since they have used mailx up till now, I guess it is configured somewhere.
The reason that I want to get these parameters from the system is that this way the application will continue to work as before and the users will not even feel that it uses SMTP instead of mailx.
My questions are:
1. Where can I get these parameters from?
2. Is it possible that these parameters will reside on a machine other than the localhost (on which installation takes place)?
3. How many ways are there, to configure SMTP Server and Port for the use of mailx?
4. Did any of you ever confronted this issue? What would you suggest?
Thanks,
Nivo
I'm working on an application that among other thing sends mails using mailx.
I've added SMTP support for this application with purpose to replace the use of mailx.
I want to spare the application users from entering the SMTP Server and Port parameters, and get these values during installation/upgrade.
Since they have used mailx up till now, I guess it is configured somewhere.
The reason that I want to get these parameters from the system is that this way the application will continue to work as before and the users will not even feel that it uses SMTP instead of mailx.
My questions are:
1. Where can I get these parameters from?
2. Is it possible that these parameters will reside on a machine other than the localhost (on which installation takes place)?
3. How many ways are there, to configure SMTP Server and Port for the use of mailx?
4. Did any of you ever confronted this issue? What would you suggest?
Thanks,
Nivo