Description
Daworks Outbound Mailer for Ncloud allows you to send all WordPress emails through Ncloud Cloud Outbound Mailer API instead of the default PHP mail function.
Developed by Daworks – Professional WordPress Development.
Note: This plugin is developed by Daworks and is not affiliated with, endorsed by, or officially connected to NAVER Cloud Platform or Ncloud.
Features
- Easy configuration through WordPress admin
- Support for multiple regions (Korea, Singapore, Japan)
- HTML and plain text email support
- CC and BCC support
- Email logging with last 100 entries
- Test connection and send test email functionality
- Compatible with popular plugins (Contact Form 7, WooCommerce, etc.)
Requirements
- WordPress 5.6 or higher
- PHP 7.4 or higher
- Ncloud Cloud Outbound Mailer subscription
- Ncloud API Access Key and Secret Key
Setup
- Sign up for Ncloud Cloud Outbound Mailer service
- Get your API Access Key and Secret Key from Ncloud Console
- Register and verify your sending domain (see Domain Setup below)
- Go to Settings > Ncloud Mailer in WordPress admin
- Enter your API credentials and sender information
- Enable the mailer and test with the test email feature
Domain Setup
Before sending emails, you must register and verify your domain in Ncloud Console.
Step 1: Register Domain
- Go to Ncloud Console > Cloud Outbound Mailer > Domain Management
- Click « + 도메인 등록 » (Add Domain)
- Enter your domain name (e.g., example.com)
Step 2: Domain Verification Token
Add a TXT record to verify domain ownership:
- In Domain Management, click « 보기 » (View) next to « 인증 토큰 » (Verification Token)
- Copy the verification token value
- Add a TXT record to your DNS:
- Host: @ (or your domain)
- Type: TXT
- Value: (paste the verification token)
- Click « 새로 고침 » (Refresh) to verify
Step 3: SPF Record
SPF (Sender Policy Framework) authorizes Ncloud to send emails on your behalf:
- Click « 보기 » (View) next to « SPF 레코드 »
- Copy the SPF record value
- Add a TXT record to your DNS:
- Host: @
- Type: TXT
- Value:
v=spf1 include:_spfblocka.ncloud.com ~all
- Click « 사용 » (Enable) to activate SPF
Step 4: DKIM Record
DKIM (DomainKeys Identified Mail) adds a digital signature to your emails:
- Click « 보기 » (View) next to « DKIM »
- Copy the DKIM record value
- Add a TXT record to your DNS:
- Host: (provided selector, e.g.,
ncloud._domainkey) - Type: TXT
- Value: (paste the DKIM public key)
- Host: (provided selector, e.g.,
- Click « 사용 » (Enable) to activate DKIM
Step 5: DMARC Record (Recommended)
DMARC provides instructions for handling authentication failures:
- Add a TXT record to your DNS:
- Host:
_dmarc - Type: TXT
- Value:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
- Host:
- After verification, consider changing policy to
p=quarantineorp=reject
DNS Record Summary
Type
Host
Value
TXT
@
(Verification Token)
TXT
@
v=spf1 include:_spfblocka.ncloud.com ~all
TXT
ncloud._domainkey
(DKIM Public Key)
TXT
_dmarc
v=DMARC1; p=none; rua=mailto:you@domain.com
Note: DNS propagation may take up to 24-48 hours. The verification status will show « 인증 완료 » (Verified) when complete.
External services
This plugin relies on NAVER Cloud Platform’s Cloud Outbound Mailer API as a third-party external service to send emails. No emails can be sent without this service.
NAVER Cloud Platform – Cloud Outbound Mailer
Service provider: NAVER Cloud Corp.
Service website: https://www.ncloud.com/product/applicationService/cloudOutboundMailer
Terms of Service: https://www.ncloud.com/policy/terms/service
Privacy Policy: https://www.ncloud.com/policy/privacy/privacy
What this service does:
This plugin sends all WordPress emails (user registration, password resets, contact form submissions, WooCommerce notifications, and any email sent via wp_mail()) through the NAVER Cloud Platform Cloud Outbound Mailer API instead of the default PHP mail function.
What data is sent to this service:
Every time WordPress triggers an email, the following data is transmitted to the NAVER Cloud Platform API:
- Sender email address and name (configured in plugin settings)
- Recipient email addresses (To, CC, BCC)
- Email subject line
- Email body content (HTML or plain text)
- Reply-To address (if provided)
When data is sent:
Data is sent every time WordPress sends an email through the wp_mail() function while this plugin is enabled. This includes but is not limited to: user registration emails, password reset emails, comment notifications, plugin/theme update notifications, WooCommerce order emails, and Contact Form 7 submissions.
API endpoints (hosted on ntruss.com, which is NAVER Cloud Platform’s API gateway domain):
- Korea: https://mail.apigw.ntruss.com/api/v1
- Singapore: https://mail.apigw.ntruss.com/api/v1-sgn
- Japan: https://mail.apigw.ntruss.com/api/v1-jpn
By using this plugin, you agree to NAVER Cloud Platform’s Terms of Service and Privacy Policy.
Developer Documentation
Filters
ncloud_mailer_before_send
Modify the mail data before sending.
add_filter( 'ncloud_mailer_before_send', function( $body, $mail_data ) {
// Modify $body array before sending
return $body;
}, 10, 2 );
ncloud_mailer_fallback_on_error
Enable fallback to default wp_mail on error.
add_filter( 'ncloud_mailer_fallback_on_error', '__return_true' );
ncloud_mailer_enable_logging
Disable email logging.
add_filter( 'ncloud_mailer_enable_logging', '__return_false' );
Actions
ncloud_mailer_init
Fires after the plugin is fully initialized.
ncloud_mailer_after_send
Fires after successful email sending.
ncloud_mailer_error
Fires when an error occurs during email sending.
Debugging
Email Logs
The plugin stores the last 100 email logs in a WordPress transient (ncloud_mailer_logs). You can retrieve logs programmatically:
$logs = get_transient( 'ncloud_mailer_logs' );
foreach ( $logs as $log ) {
echo $log['time'] . ' - ' . $log['status'] . ' - ' . $log['subject'];
}
Each log entry contains:
* time – Timestamp of the email
* status – ‘success’ or ‘error’
* to – Recipient email addresses
* subject – Email subject
* request_id – Ncloud request ID (success only)
* code – Error code (error only)
* message – Error message (error only)
WordPress Debug Log
When WP_DEBUG is enabled, errors are also logged to wp-content/debug.log:
// In wp-config.php
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
Log format: [Ncloud Mailer Error] {code}: {message} (To: {recipients}, Subject: {subject})
Disabling Logs
To disable logging entirely:
add_filter( 'ncloud_mailer_enable_logging', '__return_false' );
Installation
- Upload the
daworks-outbound-mailer-for-ncloudfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings > Daworks Mailer to configure the plugin
FAQ
-
Where do I get my API credentials?
-
You can get your API Access Key and Secret Key from the Ncloud Console.
-
What regions are supported?
-
The plugin supports Korea (KR), Singapore (SGN), and Japan (JPN) regions.
-
Does this plugin work with WooCommerce?
-
Yes, the plugin replaces the default WordPress wp_mail function, so it works with any plugin that uses wp_mail for sending emails.
-
What happens if the API fails?
-
By default, if the Ncloud API fails, the email will not be sent. You can use the
ncloud_mailer_fallback_on_errorfilter to enable fallback to the default PHP mail function.
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs/contributrices & développeurs/développeuses
« Daworks Outbound Mailer for Ncloud » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
Contributeurs“Daworks Outbound Mailer for Ncloud” a été traduit dans 3 locales. Remerciez l’équipe de traduction pour ses contributions.
Traduisez « Daworks Outbound Mailer for Ncloud » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal des modifications
1.0.3
- Rename plugin to « Daworks Outbound Mailer for Ncloud » for WordPress.org compliance
- Add External Services documentation section
- Add disclaimer about third-party service affiliation
- Update text domain to match new slug
1.0.2
- Change license to MIT
- Add LICENSE file
- Add GitHub Wiki documentation
1.0.1
- Add Korean (ko_KR) translation
- Add load_plugin_textdomain for i18n support
- Update translation strings in POT file
1.0.0
- Initial release
- Basic email sending through Ncloud API
- Admin settings page
- Connection test and test email features
- Email logging
