WordPress.org

Ready to get started?Download WordPress

Forums

WP Mail SMTP
Defining settings in wp_mail_smtp.php (1 post)

  1. Standoutmedia
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.