Jump to content

bkkranj

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bkkranj's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I've managed to install smtp server, and now i am receiving mails. IT'S JUST THAT THEY ARE EMPTY !!!! I'll lose it. How could this be happening.
  2. to short 4 me. i need details. thx in advance
  3. i've tried to use gmail smtp in php.ini: [mail function] ; For Win32 only. SMTP = smtp.gmail.com smtp_port = 587 it returns: Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first e8sm7643806muf in G:\WWW\mail.php on line 9 ?????
  4. no, it's my comp. if i set mailserver would that mean that all posting would be directed through it? also from external users? or does the posting depend from one's specific settings?
  5. what about visitors? does this applies to them also? i dont se a connection. should i install mail server?
  6. i guess i would have to change this in php.ini: [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = me@example.com What about password. I an ussing gmail. is it required?
  7. could you please direct me to solution i am completely new at this : :-\ if i adjust settings in php.ini, that would probably be a solution just 4 me, wouldnt it? what about if someone else tries to post from my web form? im getting dizzy.
  8. Nothing. Now i've tried with: <?php $to = "bowlingklubkranj@gmail.com"; $user = $_REQUEST["user"]; $email = $_REQUEST["email"]; $comments = $_REQUEST["comments"]; $headers = "From: $email"; mail($to, $comments, $headers, "From: $email"); echo "Hvala za sporocilo."; ?> and i get the message: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in G:\WWW\mail.php on line 9 problem seems to be with line 9 ( mail($to, $comments, $headers, "From: $email"); ) :'(
  9. That doesn't do the trick. I get the same message. Should I alter php.ini instead? But that would probably solve just sending from my comp,or not? I am confused... I need an universal solution.
  10. Posting from web form returns: Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in G:\WWW\Testna\mail.php on line 8 and my mail.php looks like: <?php $to = "bowlingklubkranj@gmail.com"; $user = $_REQUEST["user"]; $email = $_REQUEST["email"]; $comments = $_REQUEST["comments"]; $headers = "From: $email"; mail($to, $comments, $headers); echo "Hvala za sporocilo."; ?> Could anyone pls help me? You can look at my www: http://bkkranj.no-ip.info (form on right side) Tnx
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.