Ich google jetzt schon den halben Tag und komm zu keiner Lösung! Ich habe XAMPP installiert und alle Systeme funktionieren super!
Nun möchte ich gerne über den Server Mails über meine GMX-Adresse versenden. Ich hab schon alles ausprobiert bin aber zu keiner Lösung gekommen.
Den Mercury hab ich schon versucht einzurichten, bin aber gescheitert.
Das habe ich in den Dateien editiert:
php.ini:
- Code: Select all
[mail function]
; For Win32 only.
SMTP = mail.gmx.net
smtp_port = 25
; For Win32 only.
;sendmail_from = MeikiBoz at gmx.de
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "D:\xampp\xampp\sendmail\sendmail.exe"
sendmail.ini
- Code: Select all
[sendmail]
; you must change mail.mydomain.com to your smtp server
smtp_server=mail.gmx.net
; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify
;default_domain=http://meikiboz.selfip.net
; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging
;error_logfile=error.log
; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging
;debug_logfile=debug.log
; if your smtp server requires authentication, modify the following two lines
;auth_username=MeikiBoz at gmx.de
;auth_password=meinpasswort
; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines
;pop3_server=pop.gmx.net
;pop3_username=meikiBoz at gmx.de
;pop3_password=meinpasswort
; to force the sender to always be the following email address, uncomment and
; populate with a valid email address. this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content
;force_sender=MeikiBoz at gmx.de
; sendmail will use your hostname and your default_domain in the ehlo/helo
; smtp greeting. you can manually set the ehlo/helo name if required
;hostname=http://meikiboz.selfip.net
(anstatt diesem " at " natürlich ein @-Zeichen )
"meinpasswort" = Mein eMailPasswort
phpinfo.php
- Code: Select all
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
short_open_tag On On
SMTP mail.gmx.net mail.gmx.net
smtp_port 25 25
(no value???) --> Einstellmöglichkeit?
Und noch was! Wenn ich etwas über mein TestScript versenden möchte kommt folgendes:
- Code: Select all
Warning: mail() [function.mail]: SMTP server response: 550 5.1.7 <automatische eMail <meikiboz@gmx.de>... User is unknown {mp027}
Ich würde mich sehr freuen, wenn ihr mir helfen könntet!
Herzlichen Dank schonmal im vorraus!
Mit freundlichen Grüßen