[Mailman-Users] Send confirmation emails to user that sign up for my site
mark at msapiro.net
Tue Jul 4 18:17:40 EDT 2017
On 7/4/17 2:50 PM, kayla.manchette at devplateau.com wrote:
> What I want to do is send users that sign up an email for them to
> confirm the account they just made. The email would include a code and a
> link for the account verification page.
> Is there anyway that I can link the database from my server to mailman
> so that mailman can send these emails out?
I'm guessing you want something analogous to Mailman's subscription
confirmation process and that's why you're thinking of Mailman, but it
would be simpler and more straightforward to just send the email outside
of Mailman. Mailman is designed to send messages to the members of
lists, not to arbitrary individuals.
Mailman uses Python's smtplib to send mail
(<https://docs.python.org/3/library/smtplib.html> for Python3,
<https://docs.python.org/2/library/smtplib.html> for Python2.7).
While it would be possible to use Mailman's Message class to create and
send a message, it would be simpler to just create a plain text email
from a template and use smtplib to send it.
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users