Discussion:
A SENDMAIL equivalent?
(too old to reply)
SergioQ
2011-01-14 02:17:19 UTC
Permalink
Greetings,

In a certain Perl script I used to use SENDMAIL to send out some
important notification emails.

Now I no longer have access to that server, and was wondering if there
were some sort of equivalent that I could use in VC 6.0 SDK?
Something that I could easily send out emails from a home machine,
running an EXE I built, not from Linux....but the Win SDK?

I can't swear enough that this is NOT A SPAM THINGY. I SWEAR< I SWEAR,
I SWEAR.

Many thanks ahead,

As always,

Sergio
wang
2011-01-20 21:19:43 UTC
Permalink
Post by SergioQ
In a certain Perl script I used to use SENDMAIL to send out some
important notification emails.
Now I no longer have access to that server, and was wondering if there
were some sort of equivalent that I could use in VC 6.0 SDK?
Something that I could easily send out emails from a home machine,
running an EXE I built, not from Linux....but the Win SDK?
Sergio
Though I've never done such programming, but I'm sure that there is no
such simple function in VC++, for there is a book with the title
"Internet programming with VC++" which contains a chapter on writing a
mail client. This chapter would be useless if such a function should
exist.
k.w.wang
Cholo Lennon
2011-01-21 14:14:28 UTC
Permalink
Post by SergioQ
Greetings,
In a certain Perl script I used to use SENDMAIL to send out some
important notification emails.
Now I no longer have access to that server, and was wondering if there
were some sort of equivalent that I could use in VC 6.0 SDK?
Something that I could easily send out emails from a home machine,
running an EXE I built, not from Linux....but the Win SDK?
I can't swear enough that this is NOT A SPAM THINGY. I SWEAR< I SWEAR,
I SWEAR.
Many thanks ahead,
As always,
Sergio
Take a look at code project, there are a lot SMTP examples/solutions:

http://www.codeproject.com/info/search.aspx?artkw=smtp+c%2B%2B

BTW, in VC++ (7.1 or newer) you can use the ATL class CSMTPConnection

Regards
--
Cholo Lennon
Bs.As.
ARG
Loading...