Discussion:
[asio-users] Writing a registration server. How do I send an email?
Jim Sager
2012-10-11 21:34:51 UTC
Permalink
Hello,

I'm writing a server in ASIO for a video game.  I do not know how to send an email automatically.

The problems I have are two fold:
1) I can't send the verification code to their email.
2) In case of lost password, I can't automatically send them a computer generated one to use to set up a new password.

Is it possible to send off an email in ASIO?
If not, where would I get this tech?
Igor R
2012-10-13 19:55:43 UTC
Permalink
I'm writing a server in ASIO for a video game. I do not know how to send an
email automatically.
1) I can't send the verification code to their email.
2) In case of lost password, I can't automatically send them a computer
generated one to use to set up a new password.
Is it possible to send off an email in ASIO?
If not, where would I get this tech?
ASIO does not implement application-layer protocols.
However, using ASIO tcp::socket you can implement several SMTP
commands, connect an SMTP server, and send e-mails...
Gruenke, Matt
2012-10-13 22:51:09 UTC
Permalink
In addition to what Igor said, I'd suggest that you're probably better
off finding a library that implements SMTP, than writing your own, atop
ASIO.


Matt


-----Original Message-----
From: Igor R [mailto:***@gmail.com]
Sent: Saturday, October 13, 2012 3:56 PM
To: Jim Sager; asio-***@lists.sourceforge.net
Subject: Re: [asio-users] Writing a registration server. How do I send
anemail?
I'm writing a server in ASIO for a video game. I do not know how to
send an email automatically.
1) I can't send the verification code to their email.
2) In case of lost password, I can't automatically send them a
computer generated one to use to set up a new password.
Is it possible to send off an email in ASIO?
If not, where would I get this tech?
ASIO does not implement application-layer protocols.
However, using ASIO tcp::socket you can implement several SMTP commands,
connect an SMTP server, and send e-mails...

------------------------------------------------------------------------
------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New
Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
asio-users mailing list
asio-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asio-users
_______________________________________________
Using Asio? List your project at
http://think-async.com/Asio/WhoIsUsingAsio

Loading...