Private Label and Cobranded VoIP Solutions
BrainCast internet & phone based message/memo recording & reminder organization system
Internet Phone Service and Broadband Phone Service by ViaTalk

Go Back   VoIP Forums, Internet Phone Service Forums, & Web Hosting Forums > CoderForums - Programming Discussion > General Programming Issues > Programming Languages & Technologies > PHP

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-03-2002, 03:51 PM
Quintopia Quintopia is offline
Registered User
 
Join Date: Dec 2001
Posts: 26
sendmail/smtp

Whenever I send an email in php the email sent says it comes from "Nobody" at "nobody@quintopia.net", and the first line of the body of the email is the address I wanted it to come from. I can't make it say its coming from any specific email address with:

PHP Code:
mail("targetemail@email.com","Subject","Content","Myemail@quintopia.net); 
where "Myemail@quintopia.net" is the email I want it to come from.

Is this the wrong syntax, or is it something with HR's SMTP??
How can I fix?
Reply With Quote
  #2  
Old 03-03-2002, 03:53 PM
Quintopia Quintopia is offline
Registered User
 
Join Date: Dec 2001
Posts: 26
here's the code I tried to post, it cut the end off. . .
Code:
mail("targetemail@email.com","Subject","Content","Myemail@quintopia.net");
Reply With Quote
  #3  
Old 03-03-2002, 04:36 PM
Quintopia Quintopia is offline
Registered User
 
Join Date: Dec 2001
Posts: 26
Never mind, I was forgetting to add the "From: ". Anyway, what I really want to know is if its possible to send to a list of users and not to send the emails one at a time in a loop. . .
Reply With Quote
  #4  
Old 03-03-2002, 04:45 PM
JoeF JoeF is offline
QL User
 
Join Date: Jan 2002
Posts: 71
You might try:
PHP Code:
mail("one@user.com;two@user.com;three@user.com",etcetc
Which may or may not work
__________________
--
Joe F
Reply With Quote
  #5  
Old 03-03-2002, 05:28 PM
sylow sylow is offline
PHP/MySQL Developer
 
Join Date: Jan 2001
Posts: 88
Look at the header options of mail function at php.net
especially one BCC option
good luck
__________________
Gokhan ARLI
Freelancer for your Php/MySQL Projects
www.sylow.net

Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Forum Jump