Email not working

510 views
Skip to first unread message

Mark

unread,
Sep 12, 2016, 7:14:19 AM9/12/16
to ResourceSpace

Hi,

I've installed ResourceSpace on AWS via Bitnami.

I've configured the smtp settings in config.php as below (copied straight from here ) and changed for my personal gmail account but all i get when i do a "Bulk Email" test is the following. Any ideas as to what I can do/test?

Message could not be sent.

Mailer Error: SMTP Connect() failed.



# Use an external SMTP server for outgoing emails (e.g. Gmail).
# Requires $use_phpmailer.
$use_smtp=true;
# SMTP settings:
$smtp_secure='tls'; # '', 'tls' or 'ssl'. For Gmail, 'tls' or 'ssl' is required.
$smtp_host='smtp.gmail.com'; # Hostname, e.g. 'smtp.gmail.com'.
$smtp_port=587; # Port number, e.g. 465 for Gmail using SSL.
$smtp_auth=true; # Send credentials to SMTP server (false to use anonymous access)
$smtp_username='your_a...@gmail.com'; # Username (full email address).
$smtp_password='your_password'; # Password.
$use_phpmailer=true

Tom Gleason

unread,
Sep 12, 2016, 10:14:37 AM9/12/16
to ResourceSpace
One thought: is your Security Group in AWS allowing this? 

In include/general.php there is a line:
$mail->SMTPDebug = 0; 

You can change this variable to possibly get more information about the error. 

--
Tom Gleason
ResourceSpace Specialist



On Thu, Sep 8, 2016 at 5:39 PM, Mark <marklone...@gmail.com> wrote:

Hi,

I've installed ResourceSpace on AWS via Bitnami.

I've configured the smtp settings in config.php as below (copied straight from here ) and changed for my personal gmail account but all i get when i do a "Bulk Email" test is the following. Any ideas as to what I can do/test?

Message could not be sent.

Mailer Error: SMTP Connect() failed.



# Use an external SMTP server for outgoing emails (e.g. Gmail).
# Requires $use_phpmailer.
$use_smtp=true;
# SMTP settings:
$smtp_secure='tls'; # '', 'tls' or 'ssl'. For Gmail, 'tls' or 'ssl' is required.
$smtp_host='smtp.gmail.com'; # Hostname, e.g. 'smtp.gmail.com
'.
$smtp_port=587; # Port number, e.g. 465 for Gmail using SSL.
$smtp_auth=true; # Send credentials to SMTP server (false to use anonymous access)
$smtp_username='your_account@gmail.com'; # Username (full email address).
$smtp_password='your_password'; # Password.
$use_phpmailer=true

--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.org
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespace+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

adam jawamann

unread,
Sep 14, 2016, 1:47:21 AM9/14/16
to ResourceSpace
I set up it even in php. oni, or there has to be no config, then the config work from resourcespace.
Reply all
Reply to author
Forward
0 new messages