SMTP Setup Guide

Configure your applications to send emails through Fuddlink's SMTP servers. Perfect for legacy systems and applications that don't support REST APIs.

SMTP Configuration

Server:
smtp.fudd.link
Ports:
587 (TLS - Recommended)
465 (SSL)
Username:
smtp_injection
Password:
YOUR_API_KEY
Authentication:
LOGIN

WP
WordPress Setup

Method 1: WP Mail SMTP Plugin (Recommended)

  1. Install and activate the "WP Mail SMTP" plugin from the WordPress plugin directory
  2. Go to Settings → WP Mail SMTP
  3. Select "Other SMTP" as your mailer
  4. Configure the following settings:
SMTP Host: smtp.fudd.link
Encryption: TLS
SMTP Port: 587
Authentication: ON
SMTP Username: smtp_injection
SMTP Password: Your Fuddlink API Key

Method 2: wp-config.php Configuration

Add this to your wp-config.php file:

// SMTP Configuration
define('SMTP_USER', 'smtp_injection');
define('SMTP_PASS', 'YOUR_API_KEY');
define('SMTP_HOST', 'smtp.fudd.link');
define('SMTP_FROM', 'noreply@yourdomain.com');
define('SMTP_NAME', 'Your Site Name');
define('SMTP_PORT', '587');
define('SMTP_SECURE', 'tls');
define('SMTP_AUTH', true);

L
Laravel Setup

Configure your Laravel application's .env file with the following settings:

MAIL_MAILER=smtp
MAIL_HOST=smtp.fudd.link
MAIL_PORT=587
MAIL_USERNAME=smtp_injection
MAIL_PASSWORD=YOUR_API_KEY
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=noreply@yourdomain.com
MAIL_FROM_NAME="${APP_NAME}"

Test Your Configuration

Use Laravel's built-in mail testing to verify your setup:

php artisan make:mail TestEmail
php artisan tinker

>>> Mail::to('test@example.com')->send(new App\Mail\TestEmail());

D
Django Setup

Add the following to your Django settings.py file:

# Email Configuration
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.fudd.link'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'smtp_injection'
EMAIL_HOST_PASSWORD = 'YOUR_API_KEY'
DEFAULT_FROM_EMAIL = 'noreply@yourdomain.com'

Test Your Configuration

from django.core.mail import send_mail

send_mail(
    'Test Subject',
    'Test message body.',
    'noreply@yourdomain.com',
    ['recipient@example.com'],
    fail_silently=False,
)

N
Node.js Setup (Nodemailer)

Installation

npm install nodemailer

Configuration

const nodemailer = require('nodemailer');

const transporter = nodemailer.createTransporter({
  host: 'smtp.fudd.link',
  port: 587,
  secure: false, // true for 465, false for other ports
  auth: {
    user: 'smtp_injection',
    pass: 'YOUR_API_KEY'
  }
});

// Send email
async function sendEmail() {
  const info = await transporter.sendMail({
    from: '"Your Name" <noreply@yourdomain.com>',
    to: 'recipient@example.com',
    subject: 'Hello from Fuddlink',
    text: 'Plain text message',
    html: '<b>HTML message</b>'
  });

  console.log('Message sent: %s', info.messageId);
}

PHP
PHP Setup (PHPMailer)

Installation

composer require phpmailer/phpmailer

Configuration

<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;

require 'vendor/autoload.php';

$mail = new PHPMailer(true);

try {
    // Server settings
    $mail->isSMTP();
    $mail->Host       = 'smtp.fudd.link';
    $mail->SMTPAuth   = true;
    $mail->Username   = 'smtp_injection';
    $mail->Password   = 'YOUR_API_KEY';
    $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
    $mail->Port       = 587;

    // Recipients
    $mail->setFrom('noreply@yourdomain.com', 'Your Name');
    $mail->addAddress('recipient@example.com');

    // Content
    $mail->isHTML(true);
    $mail->Subject = 'Hello from Fuddlink';
    $mail->Body    = '<b>HTML message</b>';
    $mail->AltBody = 'Plain text message';

    $mail->send();
    echo 'Message has been sent';
} catch (Exception $e) {
    echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
}
?>

Troubleshooting

Common Issues

Authentication Failed

Ensure you're using your actual API key (not placeholder text) for both username and password fields.

Connection Timeout

Check that your server can make outbound connections on ports 587 or 465. Some hosting providers block these ports.

SSL/TLS Issues

Try switching between TLS (port 587) and SSL (port 465) if you encounter encryption-related errors.

Testing Your Setup

Use this simple curl command to test your SMTP connection:

# Test SMTP connection
curl -v --ssl-reqd \
  --url 'smtps://smtp.fudd.link:465' \
  --user 'smtp_injection:YOUR_API_KEY' \
  --mail-from 'test@yourdomain.com' \
  --mail-rcpt 'recipient@example.com' \
  --upload-file - <<< $'Subject: Test\n\nThis is a test message.'

Need Additional Help?

Our support team is here to help you get up and running quickly.