이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Free WP Mail SMTP (Official – 2019)

설명

Having problem with your WordPress site not sending emails? over 6k websites use Mail250 platform to fix their email delivery issues.

WordPress users face this chronic email delivery problem due to the fact that by default WordPress website uses wp_mail() which internally uses PHP’s mail() function, which uses server’s localhost configuration (on which website is hosted) to send emails. The default configuration won’t work as most of the shared hosting providers blocks outgoing SMTP ports 25 to protect their infrastructure from spam. This plugin fixes this problem by using Mail250 SMTP services instead of your hosting provider’s server settings.

Mail250 is an AI-Driven Bulk Email Marketing Service

The Mail250 plugin uses SMTP integration to send outgoing emails from your WordPress installation. It replaces the wp_mail function included with WordPress.

To have the mail250 plugin running after you have activated it, go to the plugin’s settings page and set the mail250 credentials.

How to use wp_mail() function:

We amended wp_mail() function so all email sends from WordPress should go through Mail250.

You can send emails using the following function: wp_mail($to, $subject, $message, $headers = '', $attachments = array())

Where:

  • $to – Array or comma-separated list of email addresses to send message.
  • $subject – Your email subject
  • $message – Your email body (HTML)
  • $headers – Array or “\n” separated list of additional headers. Optional.
  • $attachments – Array or “\n”/”,” separated list of files to attach. Optional.

The wp_mail function is sending text emails as default. If you want to send an email with HTML content you have to set the content type to ‘text/html’ running add_filter('wp_mail_content_type', 'set_html_content_type'); function before to wp_mail() one.

After wp_mail function you need to run the remove_filter('wp_mail_content_type', 'set_html_content_type'); to remove the ‘text/html’ filter to avoid conflicts –https://core.trac.wordpress.org/ticket/23578

Example about how to send an HTML email using different headers:

$subject = 'Test Email via WP Mail SMTP plugin';
$message = 'Body of the test email sent using WP Mail STMP WordPress plugin';
$to = 'recipient1@example.com, Recipient Name <recipient2@example.com>';
or
$to = array('recipient1@example.com', 'Recipient Name <recipient2@example.com>');

$headers = array();
$headers[] = 'From: Sender <sender@example.com>';
$headers[] = 'X-Your-Custom-Header: YourCustomeHeaderValue';

$attachments = array('/tmp/img1.jpg', '/tmp/img2.jpg');

add_filter('wp_mail_content_type', 'set_html_content_type');
$mail = wp_mail($to, $subject, $message, $headers, $attachments);

remove_filter('wp_mail_content_type', 'set_html_content_type');

Data & Privacy

Your emails will be sent via Mail250 – a third party AI based email delivery platform. For details please refer to Mail250 Privacy and Terms

설치

Requirements:

  1. PHP version >= 5.3.0

To upload the Mail250 Plugin .ZIP file:

  1. Upload the WordPress Mail250 Plugin to the /wp-contents/plugins/ folder.
  2. Activate the plugin from the “Plugins” menu in WordPress.
  3. Create a Mail250 account at http://www.mail250.com/
  4. Once the account is created. Login to your Mail250 account and navigate to “Home” -> “SMTP Details” to get your SMTP credentials

후기

2019년 9월 5일
I host my WP site on Google Cloud Platform. When you install WP on GCP Email is not set up as standard. WP Mail SMTP is bundled with WP Certified by Bitnami for a reason. It is a breeze to get your WP core emails (User Reg, Woo Orders, PW Reset, etc). WP Forms have a link in the plugin that takes you to their docs to install. What I will say is if you rekey your SSL then you will probably have to create a new G Mail API as I rekeyed and the only way I could get mail working again was to redo the Google bit. I jumped off the deep end moaning at WP Forms that their plugin didn’t carry out a full delete of data when deleting the plugin. It does, in the misc section of the settings. I didn’t look correctly so went on a Twitter moan (SMH). Many apologies WP Forms. Can highly recommend the use of this plugin.
모든 1 평가 읽기

기여자 & 개발자

“Free WP Mail SMTP (Official – 2019)”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Free WP Mail SMTP (Official – 2019)”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Mail250 WordPress SMTP Plugin released