Volledige versie bekijken : XAMPP in windows, hoe SMTP activeren



thirty1234
9 January 2013, 21:18
Beste

XAMPP 1.8.1.
PHP 5.4.7

Ik heb met Xampp Apache, MYsql en FilleZilla geinstalleerd.
In het statusvenster van de Xampp voor windows werken alle componenten, uitgezonderd de SMTP-service.
Hoe kan ik deze service nu laten werken?

Dank bij voorbaat

Butterflyice
9 January 2013, 21:43
in de php.ini
windows smtp
deze instellen als je eigen smtp van je provider en het werkt.

thirty1234
9 January 2013, 22:49
Ik heb alles aan de praat gekregen.
SMTP is gectiveerd.
Ik wil werken met Drupal.
Bij het aanmaken wan een user in Drupal wordt normaal een conformation mail naar het email adres van de user gestuurd.
Dit werkt niet.

Butterflycie,

Wat en waar moet ik iets veranderen in de php.ini file?

Butterflyice
10 January 2013, 09:11
Heb je ook je apache opnieuw opgestart ?
Welke settings heb je in de php.ini staan bij de stmp?

thirty1234
10 January 2013, 13:22
[mail function]
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
; SMTP = localhost
; smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
; sendmail_from = postmaster@localhost

; XAMPP IMPORTANT NOTE (1): If XAMPP is installed in a base directory with spaces (e.g. c:\program filesC:\xampp) fakemail and mailtodisk do not work correctly.
; XAMPP IMPORTANT NOTE (2): In this case please copy the sendmail or mailtodisk folder in your root folder (e.g. C:\sendmail) and use this for sendmail_path.

; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)
;sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"

; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the C:\xampp\mailoutput folder
sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe"

; 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 = Off

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log = "C:\xampp\php\logs\php_mail.log"

Bovenstaand programma is de ongewijzigde mail functie in de php.ini file.
Volgende zaken heb ik al geprobeerd.

[mail function]
XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
SMTP = localhost
smtp_port = 25

of

[mail function]
XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
SMTP = smtp.telenet.be
smtp_port = 25

beide echter zonder resultaat

Kun je me vertellen wat ik fout doe?

Butterflyice
10 January 2013, 23:42
Hier heb ik het zo staan en dit werkt



[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.ziggo.nl
; http://php.net/smtp-port
smtp_port = 25


dus voor jouw zou



[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.telenet.be
; http://php.net/smtp-port
smtp_port = 25


behoren te werken wel apache en php opnieuw opstarten.

thirty1234
11 January 2013, 00:12
Bedankt voor de snelle respons Butterflycie
Na wat te hebben rond gesurft heb ik ook nog een andere oplossing gevonden.
Volgende oplossing werkt ook bij mij.

Voer de stappen uit op volgende webpagina:
http://shutterfreak.net/blogs/olivier-biot/2010-06-24/configuring-smtp-server-sending-mail-drupal


Hier mag een slotje op.
Groeten,
Thirty.