Archive: Sending emails ?


Sending emails ?
Hello,

I suggested using NSIS at work instead of a commercial installer then built an installer for an application which works great, everybody is happy :D

Now management wants to know who installs the software. We would like to send an email at the end of the installation process with some information like login name, windows version, software version etc... Don't worry it is internal use only software, this is not about gathering marketing data or something, the sole purpose is to know who installed what for debugging and maintenance reasons.

Right now I use a vbs script and MAPI but I would like to use something more universal, SMTP for example, so that we can be sure that the email is sent.

What would be the best way to do that ?

Thanks in advance, NSIS rocks :up:

Nid


I don't know what kind of application it is, but I hope that you/they tought about the fact that not everyone has a mailbox. And you shouldn't send an e-mail from someone's email adress, people may not like it when their e-mail adress comes available to a company.

There isn't a plugin that does that for you as far as I know, but ask KiCHiK (he'll reply to this post soon).


As virtlink said, currently, there is no plug-in that does that. But I have found this nice little (36KB) program called Blat that sends e-mails:
http://www.interlog.com/~tcharron/blat.html

You can use it with nsExec.


Originally posted by virtlink
I don't know what kind of application it is, but I hope that you/they tought about the fact that not everyone has a mailbox. And you shouldn't send an e-mail from someone's email adress, people may not like it when their e-mail adress comes available to a company.
Don't worry it really is internal use only. Only employees will use it, nobody else.

Originally posted by kichik
As virtlink said, currently, there is no plug-in that does that. But I have found this nice little (36KB) program called Blat that sends e-mails:
http://www.interlog.com/~tcharron/blat.html

You can use it with nsExec.
Ok thanks I'll give it a try !

Perhaps it would be better if you had a internal webserver to accept requests then you could use nsisdl to send the request and the web server could process this.