Posted by:
janstegmeijer
(---.static.ziggozakelijk.nl)
Hello,
I'm using WAMP on my server. Everything works fine, only mailing does not work. I have a private SMTP server. that uses port 25.(TLS) the error that i'm getting is that my credentials cannot be authenticated ( it doesnt see my username and password).
Here is my config.
[mail function]
; For Win32 only.
; [
php.net]
SMTP_server = mail.example.com
auth_username =
example@example.comauth_password = *********
; [
php.net]
smtp_port = 25
; For Win32 only.
; [
php.net]
;sendmail_from =
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"
.
; [
php.net]
; sendmail_path = "
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
;mail.add_x_header = On
; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
; Log mail to syslog (Event Log on NT, not valid in Windows 95).
;mail.log = syslog
I've tried using sendmail and phpmailer but none of them seem to be able to show the authentication needed to login into the smtp server. Im thinking its the way that i put the username and passwords in the config file. but i don't know the correct way to do so.
Any help is apriciated.