Antworten auf Ihre häufigsten Fragen

[cPanel] Wie kann mein Kontaktformular auf meiner Wordpress Seite E-Mails versenden?

English Version below

Dieser Artikel richtet sich an Kunden mit einem cPanel Hosting Produkt.

 

Wenn über ein Kontaktformular E-Mails verschickt werden sollen, dann empfehlen wir folgende Konfiguration:

  • E-Mail-Versand: via cPanel localhost (externe SMTP-Server werden blockiert)
  • E-Mail-Empfang: cPanel-externes Mailprodukt (z.B. Professional Mail oder Microsoft 365)

 

 

Voraussetzungen

1. Domain im cPanel anlegen

Die Absender-Domain muss in Ihrem cPanel als Domain hinterlegt sein.

2. E-Mail-Routing auf "Remote Mail Exchange" stellen

So erreichen Sie die Einstellung:

  1. KIS Login: https://kis.hosteurope.de

  2. Produktverwaltung → cPanel Webhosting / cPanel Webserver → cPanel Login

  3. Produkt auswählen → cPanel Administration (Button rechts oben)

  4. Im cPanel: E-Mail → E-Mail-Routing

  5. Für Ihre Domain: "Remote Mail Exchanger" auswählen

Wichtig: Ohne diese Einstellung werden E-Mails lokal im cPanel zugestellt und verworfen.

 

Plugins

Um ein Kontaktformular auf der Seite einzubinden, kann ein entsprechendes Plugin genutzt werden. Dafür gibt es beispielsweise Contact Form 7 oder WPForms.

 

Der E-Mail Skriptversand wird mithilfe des Plugins WP Mail SMTP empfohlen.

1. Wählen Sie dort in den Einstellungen als E-Mail-Adresse des Absenders eine E-Mail Adresse bei der die Domain mit dem cPanel verbunden ist. 

2. Setzen Sie unbedingt einen Haken bei E-Mail-Adresse des Absenders im "Von"-Feld erzwingen

WordPress-Standard (eingebauter PHP-Mailer, kein externer Versandanbieter)

- oder alternativ Anderer SMTP-Server mit folgenden empfohlenen Einstellung:

  • Server: localhost
  • Port: 25
  • Authentifizierung: Keine
  • Verschlüsselung: Keine

 

Bei Zertifikatsfehler: Peer certificate CN='*.prod.sxb1.secureserver.net' did not match expected CN='localhost'

Verwenden Sie statt localhost den cPanel-Hostnamen aus der Browser-Adresszeile (z.B. sxb1abcde12345.prod.sxb1.secureserver.net).

 

Hinweis: Externe SMTP-Server werden grundsätzlich blockiert. Dazu zählen auch Systeme wie Professional Mail oder Microsoft 365. Serveradressen wie smtp.office365.com oder smtp.secureserver.net können daher nicht verwendet werden. Verwenden Sie stattdessen wie oben erklärt als Server den "localhost". 

 

 

English Version:

How can my contact form on my wordpress site send e-mails?

This article is intended for customers with a cPanel hosting product.

 

If emails are to be sent via a contact form, we recommend the following configuration:

  • Email sending: via cPanel localhost (external SMTP servers are blocked)
  • Email receiving: cPanel-external mail product (e.g. Professional Mail or Microsoft 365)

 

Requirements

1. Add the domain in cPanel

The sender domain must be added as a domain in your cPanel.

2. Set email routing to "Remote Mail Exchanger"

You can find this setting here:

  1. KIS login: https://kis.hosteurope.de

  2. Product Management → cPanel Web Hosting / cPanel Web Server → cPanel Login

  3. Select product → cPanel Administration (button at the top right)

  4. In cPanel: Email → Email Routing

  5. For your domain: select "Remote Mail Exchanger"

Important: Without this setting, emails will be delivered locally in cPanel and discarded.

 

Plugins:

To embed a contact form on the website, you can use a suitable plugin. Examples include Contact Form 7 or WPForms.

 

The plugin WP Mail SMTP is recommended for email script sending.

1. In the plugin settings, choose an email address as the sender email address whose domain is connected to cPanel.

2. Be sure to check Force From Email

Default (none) (built-in WordPress PHP mailer, no external sending provider)

- or alternatively Other SMTP with the following recommended settings:

  • Host: localhost
  • Port: 25
  • Authentication: None
  • Encryption: None

 

In case of certificate error: Peer certificate CN='*.prod.sxb1.secureserver.net' did not match expected CN='localhost'

Instead of localhost, use the cPanel hostname from the browser address bar (e.g. sxb1abcde12345.prod.sxb1.secureserver.net).

 

Note: External SMTP servers are generally blocked. This also includes systems such as Professional Mail or Microsoft 365. Server addresses such as smtp.office365.com or smtp.secureserver.net therefore cannot be used. Instead, use "localhost" as the server as explained above. 


otto.friedrich@hosteurope.de xanthippe.ypsilante@hosteurope.de hercules.ikarus@hosteurope.de