Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5161

Standoutmedia on "[Plugin: WP Mail SMTP] Defining settings in wp_mail_smtp.php"

$
0
0

Hello!

Your plugin works great here!
But i would like to set all settings in the PHP file.
So i've defines these settings:

$wpms_options = array (
	'mail_from' => 'mail@domain.com',
	'mail_from_name' => 'Your website',
	'mailer' => 'smtp',
	'mail_set_return_path' => 'false',
	'smtp_host' => 'smtp.domain.com',
	'smtp_port' => '587',
	'smtp_ssl' => 'tls',
	'smtp_auth' => true,
	'smtp_user' => 'mail@domain.com',
	'smtp_pass' => 'Secret123'
);

But they are not being passed on correctly, when i go to wordpress and load the configuration page these values are not set:

Authentification, Encryption, return-path(if set).

I can define them manually, and the plugin works though.
So how do i define all my settings in the plugin file?

http://wordpress.org/extend/plugins/wp-mail-smtp/


Viewing all articles
Browse latest Browse all 5161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>