Xampp & Viart Shopping Cart Mail problems

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp & Viart Shopping Cart Mail problems

Postby ozchiri » 11. February 2008 20:23

I am trying to set up the viart shopping cart and my server is loaded with xampp so far almost everything works but there is something that i really don't know how to solve, in viart there is a part where the customer fill out all his info and needs to click next to go to the next page where the billing info comes , at that time viart sends me the info that the order has been placed and sends an email to the customer that i received his order, usually when customer click next takes like 3 to 4 green blocks of time (internet explorer left at below) and goes to the next page but sometimes you need to wait forever until the next screen comes and never happens and i need to turn the computer off and on again, do you guys think it is a problem with the sendmail or fake sendmail?? i am running in windows xp here is part of the php.ini settings for the mail and the sendmail text any help woul be appreciated!!!, thanks in adavnce


PHP.INI

[mail function]
; For Win32 only.
SMTP = smtp.fashionscouture.com
smtp_port = 25

; For Win32 only.
;sendmail_from = pcplanet@sbcglobal.net

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = "C:\apachefriends\xampp\sendmail\sendmail.exe -t"

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


SENDMAIL:

; configuration for fake sendmail

[sendmail]

; you must change mail.mydomain.com to your smtp server

smtp_server=localhost

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

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

; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines

;pop3_server=
;pop3_username=
;pop3_password=

; 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=me@localhost

; 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=localhost
ozchiri
 
Posts: 1
Joined: 11. February 2008 20:15

Postby Izzy » 11. February 2008 21:33

Please change the bold details to suit your actual details as they are only for use as an example.

; For Win32 only.
;sendmail_from = pcplanet@sbcglobal.net

This needs uncommenting and your email address at the SMTP server specified, as your SMTP server usually requires the sender's details.
; For Win32 only.
sendmail_from = me@fashionscouture.com

In your cart's mail configuration you would need to add your email authentication information for your SMTP server smtp.fashionscouture.com - username/password - the same details you use in your regular email client, Outlook Express for example to connect and send mail.

Make sure you are editing the correct php.ini file which is the one in .\xampp\apache\bin\ directory, then restart Apache after making your changes but make a backup of ini and conf files before editing.


The fake sendmail only needs to be configured if you specify that method in your cart's mail configuration section and, if not used, leave it at the default settings in the php.ini file - use only one of the 2 methods not both.

It should contain the same details as you included in the php.ini file plus the email authentication details for the SMTP server you specify, that would normally be included in your cart's configuration.

Example:
SENDMAIL:

; configuration for fake sendmail

[sendmail]

; you must change mail.mydomain.com to your smtp server

smtp_server=smtp.fashionscouture.com

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

; 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=me@fashionscouture.com
auth_password=mypassword

; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines

;pop3_server=
;pop3_username=
;pop3_password=

; 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=me@fashionscouture.com

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


Fake sendmail works in a similar fashion to the php.ini method and only passes the email details to a known SMTP server.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 102 guests