• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

SMTP Mail

TheSaviour

New Member
Joined
Oct 8, 2015
Messages
1
Reaction score
0
Can someone help me every time i try to verify mail i get a error :S
im using myaac template


[createaccount.php] An error occorred while sending email: SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub. Error:
what do i need to do to fix this ?

here is me PHP :

// mail
'mail_enabled' => true, // is aac maker configured to send e-mails?
'mail_address' => '[email protected]', // server e-mail address (from:)
'mail_admin' => '[email protected]', // admin email address, where mails from contact form will be sent
'mail_signature' => array( // signature that will be included at the end of every message sent using _mail function
'plain' => ''/*'--\nMy Server,\nhttp://www.myserver.com'*/,
'html' => ''/*'<br/>My Server,\n<a href="http://www.myserver.com">myserver.com</a>'*/
),
'smtp_enabled' => true, // send by smtp or mail function (set false if use mail function)
'smtp_host' => 'smtp.gmail.com', // mail host
'smtp_port' => 587, // 25 (default) / 465 (ssl, e.g. gmail)
'smtp_auth' => true, // need authorization?
'smtp_user' => '[email protected]',
'smtp_pass' => 'example',
 
You need to setup a SMTP server of some sort. You can use zoho.eu if you have your own domain.
No - he does not. Google and Microsoft both have options to run through their SMTP servers using Gmail or Outlook.

[createaccount.php] An error occorred while sending email: SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub. Error:
what do i need to do to fix this ?

\Did you actually configure the config, or are these default values? If that's the case;
- Change the values of `mail_address`, `mail_admin` and `smtp_user` to your complete email-address. This e-mail will both send and receive all e-mail traffic.
- Change the SMTP configuration and use the configuration values that belong to your host. Down below are Google's and Outlook's settings.

Microsoft/Outlook
smtp-mail.outlook.com
Outgoing SMTP mail server port: 587; Encryption: SSL (TLS) required

Gmail
smtp.gmail.com
Outgoing STP mail server: port 587; Encryption SSL (TLS) required
You should also configure your google account to accept foreign hosts accessing its SMTP server.


> IMAP & SMTP servers for hotmail.com
> Change SMTP settings to check Gmail on other clients - Gmail Help
 

Similar threads

Back
Top