"Odion A. Edeki" wrote: > Hi Joseph:> I saw your response on a message board and I need some help.
Hi Odion, Please post to the list as a whole. You will get a much broader range of help doing this. > How can I use sendmail as an email function in my security application. I would advise against using sendmail. It is a system-specific application, and using it will make your code less portable. Perl has built-in modules that handle the mail protocols very nicely. Google for Mail::Sendmail and Mail::Sender to start with. > Any help please will be appreciated. The best help I could give you is to suggest that you rethink your development approach. Genrally, it is best to start a project by specifying what results are desired. Then we outline the general steps involved in fulfilling the task. We analyze each, breaking each down until it is fairly straightforward.. Then we start attaching symbols--variables and constants--to the data that plays a role in the process. Then, when we have the logic of the task clearly outlined, we go about selecting the particular programming constructs and tools we will use. Focusing on what tool you are going to use is generally not a good idea. > I don't know the arguments. Neither do I. The sendmail program is a Linux application, and I do most of my work in Windows. I've heard that the man function works well on 'nix, something like: man sendmail You might also try just calling sendmail with no parameters, which should bring up a usage error outlining the proper calling mode, or maybe: sendmail -help Let us know what you have tried, and what you find. > Do I use a script or simply put it in my c++ code ? It depends on how your process works. I am very tempted to jump up and say that you should do this as structured programming, because that is the approach I prefer for problem-solving, but you have to look at what works best when YOU are working on a problem. Perl allows you to write your code either as structured programming, or as script, at your preference, so there are really two questions here--whether to use script or structured programming, and whether to use Perl or C++. The first I've already answered--look inside yourself to see. The second I can't really answer. I know for sure that Perl has a lot of built-in functionality to handle mailing tasks, but I've never used C++ for anything but theoretically-oriented work like building data structures. I don't know its practical libraries well at all. For C++ questions, I recommend the C++ Website Message Board http://m0rph.com/bbs/. The folks there are patient, helpful, and very dedicated. Joseph > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]