Daworks Outbound Mailer for Ncloud
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' );
