Installation

Configuring SMTP server post-installation?

Configuring SMTP server post-installation?

by Alasdair McAndrew -
Number of replies: 2
I have installed WeBWorK on a linux-based VSP, using the excellent installation script, which basically took care of everything for me. I didn't configure email at the time, as I had no email server installed or configured.

Do I need to go into WeBWorK config files to configure a server (I intend to use the external public google server smtp.gmail.com), or can I just configure that for my VSP and assume WeBWorK will use whatever server it can find?

Thanks,
Alasdair
In reply to Alasdair McAndrew

Re: Configuring SMTP server post-installation?

by Michael Gage -
You'll need to specify your smtp server in the fileĀ 

webwork2/conf/site.conf

There is a section on configuring the mail capabilities.

It should be pretty easy.

-- Mike
In reply to Michael Gage

Re: Configuring SMTP server post-installation?

by Alasdair McAndrew -
Thanks for that. Two more questions: can you specify login name, password and port on the server line, something like:

$mail{smtpSender}='mailserver.mail.com --login=myname --pass=mypasswod --port=11111'

or, if I'm using nullmailer, something like

$mail{smtpSender}=nullmailer

in which case the smtp sender points to a process, rather than a mail address?

Thanks again,
Alasdair