Jump to content
php.lv forumi

htacess


daviskrex

Recommended Posts

Sveiki, man ir problēma,

Hostēju savu lapiņu uz hostinga,

Hostingam nav iestatīts smtp serveris @ php.ini, drošības apsvērumu dēļ, lai nespamo... Lieta tāda, ka dzirdēju, ka šo smtp serveri var norādīt htacess failā, taču neatradu kā īsti to izdarīt... Nežēlīgi vajag, lai strādātu mail() funkcija...

Mēģināju arī tādu skriptu kā PHP MAILER, kas uzvedās dīvaini, localhostā man sūtija visus mailus, bet tur - meta errorus...

 

Varbūt kāds no jums var dot man kādu padomu?

Paldies jau iepriekš.

Link to comment
Share on other sites

Piezīme: smtp servera uzstādījums darbosies tikai Windows vidē:

SMTP string

Used under Windows only: host name or IP address of the SMTP server PHP should use for mail sent with the mail() function.

 

smtp_port int

Used under Windows only: Number of the port to connect to the server specified with the SMTP setting when sending mail with mail(); defaults to 25. Only available since PHP 4.3.0.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...