PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
pelegk2
Forum Regular
Posts: 633 Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:
Post
by pelegk2 » Mon Jan 03, 2005 3:03 am
i recive this error :
Warning: mail(): SMTP server response: 501 Syntax error, parameters in command "MAIL FROM:<
pelegk@woowww.com , david_bt@woowww..com>" unrecognized or missing in C:\Program Files\Apache Group\Apache2\htdocs\test\mail2.php on line
why is that
?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Jan 03, 2005 3:38 am
I'd guess it's because of 2 email addresses in the from, the latter being bad and in the wrong syntax.
pelegk2
Forum Regular
Posts: 633 Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:
Post
by pelegk2 » Mon Jan 03, 2005 3:45 am
I'd guess it's because of 2 email addresses in the from
that the perpuse! so how do i send the email to 2 persons?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Jan 03, 2005 3:47 am
put their addresses in the "to" side. From is supposed to be 1 person/address. To/CC/BCC can be any number of persons/addresses.
pelegk2
Forum Regular
Posts: 633 Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:
Post
by pelegk2 » Mon Jan 03, 2005 3:57 am
oppps my ,istake
pelegk2
Forum Regular
Posts: 633 Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:
Post
by pelegk2 » Tue Jan 04, 2005 5:09 am
ok")