Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 17th, 2005, 10:57 AM
rock72
Guest
 
Posts: n/a
Default How will I use mail function ?

I am developing a php script that automatically send email to the
inputed email addresses. Can you help?

Thanks


Tim

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-mail-fun...ict178639.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=600416
  #2  
Old July 17th, 2005, 10:57 AM
Raven
Guest
 
Posts: n/a
Default Re: How will I use mail function ?

"rock72" <UseLinkToEmail@dbForumz.com> wrote in message
news:41ba7b27$1_3@alt.athenanews.com...[color=blue]
>I am developing a php script that automatically send email to the
> inputed email addresses. Can you help?
>
> Thanks
>
>
> Tim
>
> --
> http://www.dbForumz.com/ This article was posted by author's request
> Articles individually checked for conformance to usenet standards
> Topic URL: http://www.dbForumz.com/PHP-mail-fun...ict178639.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
> http://www.dbForumz.com/eform.php?p=600416[/color]

http://www.php.net/manual/en/ref.mail.php


  #3  
Old July 17th, 2005, 10:58 AM
Neophyte
Guest
 
Posts: n/a
Default Re: How will I use mail function ?

First make sure that "sendmail_path" is set to point to your sendmail
installation.

Then in your code say

mail($to, $subject, $body)

Where $to contains the address, $subject is your subject line, and
$body contains the text of your message.

For further info see the manual page.

rock72 <UseLinkToEmail@dbForumz.com> wrote:
[color=blue]
>I am developing a php script that automatically send email to the
>inputed email addresses. Can you help?
>
>Thanks
>
>
>Tim[/color]

  #4  
Old July 17th, 2005, 10:59 AM
peter
Guest
 
Posts: n/a
Default Re: How will I use mail function ?

rock72 wrote:[color=blue]
> I am developing a php script that automatically send email to the
> inputed email addresses. Can you help?
>
> Thanks
>
>
> Tim
>[/color]

If you use a server with sendmail smtp set up this will do

mail("you@you.com","Your Subject","Your msg body","From: Your from
address");
  #5  
Old July 17th, 2005, 11:10 AM
Paul is the bestest
Guest
 
Posts: n/a
Default Re: How will I use mail function ?

have you looked at the php manual yet?


"Raven" <ravenNOSPAM@NOSPAMravenphpscripts.com> wrote in message
news:32vud.7935$0r.175@newsread1.news.pas.earthlin k.net...[color=blue]
> "rock72" <UseLinkToEmail@dbForumz.com> wrote in message
> news:41ba7b27$1_3@alt.athenanews.com...[color=green]
> >I am developing a php script that automatically send email to the
> > inputed email addresses. Can you help?
> >
> > Thanks
> >
> >
> > Tim
> >
> > --
> > http://www.dbForumz.com/ This article was posted by author's request
> > Articles individually checked for conformance to usenet standards
> > Topic URL: http://www.dbForumz.com/PHP-mail-fun...ict178639.html
> > Visit Topic URL to contact author (reg. req'd). Report abuse:
> > http://www.dbForumz.com/eform.php?p=600416[/color]
>
> http://www.php.net/manual/en/ref.mail.php
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles