Php5+1st smtp sever

Σε αυτή την περιοχή μπορείτε να βρείτε ή να αναζητήσετε πληροφορίες σχετικές με την PHP

Συντονιστές: WebDev Moderators, Super-Moderators, PHP Moderators

Απάντηση
ΝΤΟΡΑ
Δημοσιεύσεις: 3
Εγγραφή: 12 Μάιος 2006 01:52

Php5+1st smtp sever

Δημοσίευση από ΝΤΟΡΑ » 12 Μάιος 2006 02:10

Kalispera sas. Loipon to thema exei os exis. Exo ftiaxei ena mail script me php. Thelo na steilo mail me tin mail() function tis php. Xrhsimopoiw ton 1st SMTP server kai to outlook express. Sto diko mou pc pou exo ta windows xp kai tin php4.3.3 win 32 to mail mporei kai pigainei. Tora omos gia kapoion simantiko logo anagkazomai na kano to idio se windows 2003 server, me tin php5 kai de ginetai. Oute kan ta logs ston smtp den anaferontai. Na simeioso oti epeidi yparxei enas proxy server valame gateway kai mporei na steilei mynimata exo, ta opoia ta antilamvanetai o smtp apo to outlook kai deixnei oti efyge to mail. To thema einai oti ego prepei na steilo to mail mesa apo to localhost site mou kai oxi apo to outlook kateytheian. Logika paizei kapoio provlima me to script mou pou den epikoinonei me tin php5 pou den epikoinonei me ton smtp. Ti na kano paidia? HELP!!!

Άβαταρ μέλους
Rapid-eraser
WebDev Moderator
Δημοσιεύσεις: 6851
Εγγραφή: 05 Απρ 2003 17:50
Τοποθεσία: Πειραιάς
Επικοινωνία:

Php5+1st smtp sever

Δημοσίευση από Rapid-eraser » 12 Μάιος 2006 10:14

Basika dev exei sxesi me to outlook n php
oute kav koitaei to configuration pou exeis ekei.

prepei va ri8miseis tov smtp sto php.ini

Av kati tetoio dev eivai efikto tote 8a xriasteis eva paketo opos to php-mailer pou exei tnv divatotita
va kavei me kodika conect stov smtp (me to sxetiko configuration) . Mporei akoma va kavei kai pop-first / smtp login av xriazete gia va stilei to email.
Cu, Rapid-eraser, Tα αγαθά copies κτώνται.
Love is like oxygen, You get too much you get too high
Not enough and you're gonna die, Love gets you high

ΝΤΟΡΑ
Δημοσιεύσεις: 3
Εγγραφή: 12 Μάιος 2006 01:52

Php5+1st smtp sever

Δημοσίευση από ΝΤΟΡΑ » 12 Μάιος 2006 13:54

Sas eyxaristo pou mou apantisate. To php.ini to exo etsi:
[mail function]
; For Win32 only.
SMTP = localhost

; For Win32 only.
sendmail_from = me@localhost.com // edo exo valei to e-mail mou omos.

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

Άβαταρ μέλους
Rapid-eraser
WebDev Moderator
Δημοσιεύσεις: 6851
Εγγραφή: 05 Απρ 2003 17:50
Τοποθεσία: Πειραιάς
Επικοινωνία:

Php5+1st smtp sever

Δημοσίευση από Rapid-eraser » 12 Μάιος 2006 15:37

avti gia localhost 8a prepei va doseis to host tou smtp server ... ektos kai av eivai local (kai ri8mismevos va dexete local conections)
Cu, Rapid-eraser, Tα αγαθά copies κτώνται.
Love is like oxygen, You get too much you get too high
Not enough and you're gonna die, Love gets you high

panosru
WebDev Moderator
Δημοσιεύσεις: 1885
Εγγραφή: 13 Σεπ 2005 16:13
Τοποθεσία: Camp

Php5+1st smtp sever

Δημοσίευση από panosru » 15 Μάιος 2006 16:17

akribos, kai ekts apo to php.ini pepei na rythmiseis kai to sendmail.ini tou web server sou.

apo default to sendmail.ini exei os eksis:

Κώδικας: Επιλογή όλων

; 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

ΝΤΟΡΑ
Δημοσιεύσεις: 3
Εγγραφή: 12 Μάιος 2006 01:52

Php5+1st smtp sever

Δημοσίευση από ΝΤΟΡΑ » 16 Μάιος 2006 10:52

sorry again alla epsaxa na vro to sendmail.ini kai den to exo. Kati exo kanei me to PEAR paketo kai gi ayto leitourgei sto spiti. Mesa stin php4.3.3 eixe ena exe pou elege
go PEAR.E loipon ego to etrexa afto kai mou ekane egatastasi kapoia arxeia mesa stin php kai sta windows xp. Polla arxeia paidia kai de xero ti mou ginetai. Prospathisa na kano to idio kai sto allo pc kai to go pear den trexei.Giati i php5 den exei afto to feature?
Mesa sta windows exei valei ena arxeiaki opos einai to php.ini dist pou legetai go rear kai leei:


#PEAR_Config 0.9
a:7:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:22:"C:\php\php-4.3.3-Win32";s:7:"php_dir";s:27:"C:\php\php-4.3.3-Win32\pear";s:7:"doc_dir";s:32:"C:\php\php-4.3.3-Win32\pear\docs";s:8:"data_dir";s:32:"C:\php\php-4.3.3-Win32\pear\data";s:8:"test_dir";s:33:"C:\php\php-4.3.3-Win32\pear\tests";s:7:"php_bin";s:34:"C:\php\php-4.3.3-Win32\cli\php.exe";}


Xamos. Ti allo na kano?
Pos tha valo afto to sendmail.ini?

Απάντηση

Επιστροφή στο “PHP Προγραμματισμός”

Μέλη σε σύνδεση

Μέλη σε αυτήν τη Δ. Συζήτηση: Δεν υπάρχουν εγγεγραμμένα μέλη και 1 επισκέπτης