Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
programmieren:wordpress:wp_mail_mit_smpt_daten_verschicken [2024/07/16 17:16] – [WP_MAIL mit einer SMTP-Verbindung verschicken (via PHPMailer)] jgehrkeprogrammieren:wordpress:wp_mail_mit_smpt_daten_verschicken [2024/07/16 17:16] (current) – [Hinweis zur SMPTSecure Einstellung] jgehrke
Line 67: Line 67:
  
 <code txt> <code txt>
- PHPMailer::ENCRYPTION_SMTPS » Port 465 + PHPMailer::ENCRYPTION_SMTPS » Port 465 
- PHPMailer::ENCRYPTION_STARTTLS » Port 587+ PHPMailer::ENCRYPTION_STARTTLS » Port 587
 </code> </code>
  
Line 74: Line 74:
  
 <code> <code>
- $phpmailer->SMTPSecure = 'ssl'; // gleiche wie» PHPMailer::ENCRYPTION_SMTPS; + $phpmailer->SMTPSecure = 'ssl'; // gleiche wie» PHPMailer::ENCRYPTION_SMTPS; 
- $phpmailer->SMTPSecure = 'tls'; // gleiche wie» PHPMailer::ENCRYPTION_STARTTLS;+ $phpmailer->SMTPSecure = 'tls'; // gleiche wie» PHPMailer::ENCRYPTION_STARTTLS;
 </code> </code>
  

Page Tools