Note that there are some explanatory texts on larger screens.

plurals
  1. POCakeDC Users Plugin - I Can't Send Emails
    primarykey
    data
    text
    <p>I apologise for the rambling nature of this question, please bear with me and I'll provide all the extra info needed for you to stop me going mad from failing at something that looks inherently very straightforward...</p> <p>I've just installed CakePHP 2.2, and the first thing I've done is add the cakeDC Users plugin. It's all working, apart from sending an email verification when a user registers.</p> <p>I've tried so many combinations of different things in email.php, that I have now utterly got my knickers in a twist. Whatever I do, when the verification email should be sent, all I get is: No connection could be made because the target machine actively refused it.</p> <p>My email.php currently looks like this:</p> <p>class EmailConfig {</p> <pre><code>public $default = array( 'transport' =&gt; 'Smtp', 'from' =&gt; 'blah@gmail.com', //'charset' =&gt; 'utf-8', //'headerCharset' =&gt; 'utf-8', ); public $smtp = array( 'transport' =&gt; 'Smtp', 'from' =&gt; array('Blah &lt;blah@gmail.com&gt;' =&gt; 'Chimp'), 'host' =&gt; 'ssl://smtp.gmail.com', 'port' =&gt; 465, 'timeout' =&gt; 30, 'username' =&gt; 'blah@gmail.com', 'password' =&gt; 'secret', 'client' =&gt; null, 'log' =&gt; false, //'charset' =&gt; 'utf-8', //'headerCharset' =&gt; 'utf-8', ); public $fast = array( 'from' =&gt; 'blah@blah.net', 'sender' =&gt; null, 'to' =&gt; null, 'cc' =&gt; null, 'bcc' =&gt; null, 'replyTo' =&gt; null, 'readReceipt' =&gt; null, 'returnPath' =&gt; null, 'messageId' =&gt; true, 'subject' =&gt; null, 'message' =&gt; null, 'headers' =&gt; null, 'viewRender' =&gt; null, 'template' =&gt; false, 'layout' =&gt; false, 'viewVars' =&gt; null, 'attachments' =&gt; null, 'emailFormat' =&gt; null, 'transport' =&gt; 'Smtp', 'host' =&gt; 'blah.net', 'port' =&gt; 25, 'timeout' =&gt; 30, 'username' =&gt; 'user', 'password' =&gt; 'secret', 'client' =&gt; null, 'log' =&gt; true, //'charset' =&gt; 'utf-8', //'headerCharset' =&gt; 'utf-8', ); </code></pre> <p>}</p> <p>How do I get cakeDC Users plugin to just send a non-SMTP email? Or do I <em>have</em> to use, for example, my Gmail details? But, if I do have to go down the SMTP route, what is wrong with the above?</p> <p>Other info: I'm using the latest version of XAMPP and my PHP install is ssl enabled.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload