Jump to content
php.lv forumi
Sign in to follow this  
Wuu

mail() uz unix sistēmas

Recommended Posts

Kā nosūtīt e-pastu caur SMTP "mail.ilva.lv" ,bez lietotaj varda un paroles? Nelietojot PERL? Lietotāj vārds nav vajadzīgs tas ir mana provaidera SMTP :)

Edited by Wuu

Share this post


Link to post
Share on other sites

Unixā - ir jābūt uzinstalētam SMTP serverim (kas tālāk visu relayo uz provaidera SMTP) uz lokālās kastes, lai varētu tikai ar mail().

Share this post


Link to post
Share on other sites

Man phpBB sūta mailus ,bet tur milzīgs skripts cauri izburtie nevar kur nu vel tur tās bultas "=>" "::"

 

[mail function]

; For Win32 only.

SMTP = localhost

smtp_port = 25

 

; For Win32 only.

;sendmail_from = me@example.com

 

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

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

 

Nez te jau nevar neko konfigurēt :(

Share this post


Link to post
Share on other sites

JA Tev ir Unix, tad vienīgais variants (kas ļauj nemainīt PHP kodu) ir uzlikt kādu elementāru SMTP servisu uz datora.

Share this post


Link to post
Share on other sites

Nu ja ,uz sava es uzliksu bet kad lapu parcels uz hosta tur bus jalieto SMTP :(

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...