Using PHPMailer with the ...
                
  Using PHPMailer with the email relay service
                - Home
 - Control Panel
 - Community Forum
 - Services
 - Email Service
 - Using PHPMailer with the email relay service
 
- Community Forum
 - Using PHPMailer with the email relay service
 
Topic: Using PHPMailer with the email relay service
                                I'd like to know if it's possible to use PHPMailer to transmit mail via the SMTP relay service. I have written a small plugin to send emails from the WordPress admin dashboard to but I get an error connecting to the relay server with my settings and credentials.I've not set tls or ssl but left that blank after failing with tls, and I have smtp authentication set to true.This is my PHPMailer settings info:
                            
                            
                        $phpmailer->isSMTP(); $phpmailer->SMTPDebug = 2; $phpmailer->debug = 1; $phpmailer->Host = $host; $phpmailer->Port = $port; $phpmailer->SMTPSecure = $smtpsecure; $phpmailer->SMTPAuth = $smtpauth; $phpmailer->Username = $username; $phpmailer->Password = $password;Is the problem that PHPMailer is not compatible with dynu?
Reply with quote | Report
| Author | Topic: Using PHPMailer with the email relay service | 
|---|---|
| 
                                starapple Joined: 12/31/2019  | 
                            
                                
                                 Sunday, October 16, 2022 10:53 AM 
                                    I'd like to know if it's possible to use PHPMailer to transmit mail via the SMTP relay service. I have written a small plugin to send emails from the WordPress admin dashboard to but I get an error connecting to the relay server with my settings and credentials.I've not set tls or ssl but left that blank after failing with tls, and I have smtp authentication set to true.This is my PHPMailer settings info: 
                                
                                
                                
                            $phpmailer->isSMTP(); $phpmailer->SMTPDebug = 2; $phpmailer->debug = 1; $phpmailer->Host = $host; $phpmailer->Port = $port; $phpmailer->SMTPSecure = $smtpsecure; $phpmailer->SMTPAuth = $smtpauth; $phpmailer->Username = $username; $phpmailer->Password = $password;Is the problem that PHPMailer is not compatible with dynu?  | 
                        
            Monday, November 3, 2025 11:40 PM
        
    