MLUG: RE: [MLUG - DISCUSSION] PhP question
RE: [MLUG - DISCUSSION] PhP question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mail() being a built in function, I assumed there wasn't a question of if it
is installed or not.  Is there a dist of PhP for BSD that doesn't support
it?
I managed to get a perl mailer working instead, but I had to rewrite script
and module to exist on my directory.

Also, other than configuring this mail to go to the right sendmail, is there
any real difference between Windows PhP through apache and Linux PhP through
apache?  (With perl, the basic difference is #!perl on windows,
#!/usr/bin/perl on linux, and #!/usr/pkg/bin/perl on my freeshell/bsd
account.)


> mail("EMAIL:PROTECTED", "$user logged in", "",
> "");
> 
> i've got this in one of my scripts and it seems to
> work.  i'm just using it to page me so i'm not sending
> much info, but i get the pages.
> 
> -marcus
> 
> --- "Ross, Matt" <EMAIL:PROTECTED> wrote:
> > Is this syntax right?:
> > 
> > <code_snippit>
> > <?
> > $diditwork = mail("EMAIL:PROTECTED", "CS 392
> > Auto-Email from:
> > $name", $body,
> >      "From: $email\r\n"
> >     ."Reply-To: $email\r\n"
> >     ."X-Mailer: PHP/" . phpversion());
> > ?>
> > </code_snippit>
> > 
> > I get no email and no output, but everywhere I look,
> > I get that answer.  I
> > use $diditwork to determine if it worked or not,
> > giving alternate answers.
> > --
> > To unsubscribe, go to
> > http://mlug.missouri.edu/members/edit.php
> > 
> > Archives are available at
> http://mlug.missouri.edu/list-archives/
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
> 
> Archives are available at http://mlug.missouri.edu/list-archives/
> 
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/