Hallo,
ein Kunde von uns hat ein Formular, das mit we:sendmail versendet wird.
Wir haben vom EDV-Dienstleister SMTP-Zugangsdaten bekommen bzgl. Server, Port und Absendeadresse.
Für den Versand über die Absendeadresse wurde unsere Server-IP eingetragen, damit unser Server für den Versand berechtigt ist.
Eine Authentifizierung (User/Pass) ist nicht notwendig bzw. gibt es dafür auch keine Daten.
Leider bekomme ich es aber nicht hin, dass das Formular versendet wird.
Wenn ich alles so wie gedacht einstelle (u.a. Authentifizierung: Keine), kommt eine Exception:
Code
Type: Exception
--------------------------------------------------------------------------------
File: SECURITY_REPL_DOC_ROOT/webEdition/we/classes/mail/we_mail_TransportSmtp.class.php
--------------------------------------------------------------------------------
Line: 101
--------------------------------------------------------------------------------
Text: Typed property we_mail_TransportSmtp::$auth must not be accessed before initialization
--------------------------------------------------------------------------------
Source-Code: DOCUMENT_ROOT/webEdition/we/classes/mail/we_mail_TransportSmtp.class.php:
100: // Check if authentication is required and determine required class
101: $this->connection = match($this->auth){
102: self::SMTP_AUTH_LOGIN => new we_mail_ProtocolSmtpLogin($this->host, $this->port, $this->config),
103: self::SMTP_AUTH_PLAIN => new we_mail_ProtocolSmtpPlain($this->host, $this->port, $this->config),
104: self::SMTP_AUTH_CRAMMD5 => new we_mail_ProtocolSmtpCrammd5($this->host, $this->port, $this->config),
105: default => new we_mail_ProtocolSmtp($this->host, $this->port, $this->config),
Alles anzeigen
Grundlegend sollte aber der Versand über SMTP ohne Authentifizierung funktionieren oder ist dies gar nicht möglich?
Danke für eure Rückmeldungen und jede Hilfe.