Hallo Alle zusammen,
ich habe unter Win SS 2.4 incl UserForms Modul V.03 erfolgreich installiert.
Leider kommen die E'Mails nicht raus :( und ich bekomme folgende Fehlermeldung :
[Warning] mail() [function.mail]: Failed to connect to mailserver at "smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
POST /silverstripe/Kontaktformular/Form
Line 163 in C:\wamp\www\silverstripe\sapphire\email\Mailer.php
Source
154 if (isset($headers['bcc'])) {$headers['Bcc']=$headers['bcc']; unset($headers['bcc']); }
155
156
157 // Send the email
158 $headers = processHeaders($headers);
159 $to = validEmailAddr($to);
160
161 // Try it without the -f option if it fails
162 if(!($result = @mail($to, $subject, $fullBody, $headers, "-f$bounceAddress"))) {
163 $result = mail($to, $subject, $fullBody, $headers);
164 }
165
166 return $result;
Ich habe an der php.ini entsprechend meinem niedrigen Wissenstand rumgefummelt , leider ohne Erfolg :(
Meine php.ini sieht so aus :
....
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.gmail.com
; http://php.net/smtp-port
smtp_port = 465
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = z.wittmann@gmail.com
....
Hat jemand eine Idee ?
Danke im Voraus

