Δημοσιεύτηκε: 16 Μάιος 2012, 06:15
από poscore
Καλησπέρα έδωσα μια προσπάθεια καθώς δεν ξέρω και πολύ καλή PHP να στείλω ενα email αλλα δεν τα κατάφερα και εγώ. έχω εγκαταστήσει xampp, έχω connex OTE ως provider και δυστυχώς είναι Broken το λινκ που είχε δώσει ο φίλος μας στην προηγούμενη σελίδα. Δεν μπορώ να βρώ τις ρυθμίσεις που πρέπει να κάνω στο php.ini. Έχω κάνει φόρμα με php που πετάρει error(με echo) οτι κάτι δεν πάειι καλά και αυτό είναι λογικό καθώς δεν έχουν γίνει οι ρυθμίσεις. Χρησιμοποιώ linux ubuntu και θέλω στο Localhost να ανοίξω το php αρχείο μου και να στείλω ένα email στο gmail account μου. Καταρχήν δεν ξέρω πιο path να βάλω
Κώδικας: Επιλογή όλων

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

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;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

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log =



ευχαριστώ πολύ! :)