|
@@ -120,7 +120,10 @@ fi
|
|
|
echo "Configuring smtp mail"
|
|
|
$WP option update mailer smtp
|
|
|
$WP option update mail_from "${MAIL_FROM}"
|
|
|
-$WP option update mail_from_name WordPress
|
|
|
+# Let user customize the mail from name
|
|
|
+if ! $WP option get mail_from_name; then
|
|
|
+ $WP option update mail_from_name WordPress
|
|
|
+fi
|
|
|
$WP option update smtp_host ${MAIL_SMTP_SERVER}
|
|
|
$WP option update smtp_port ${MAIL_SMTP_PORT}
|
|
|
$WP option update smtp_auth true
|