php mail() question?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using a 'basic' PHP mail() function that works
fine when inputting data and information for it to
send.  But now I want to do the following:

1) Fetch email addresses from a mysql database and put
them as Bcc: so emails are always hidden.  Or some
other method? (would be ideal to have the recievers
email as the to: when they read it but only theirs.)

2) Grab their first name from the mysql database and
put that as the first line in the body.  (e.g. Dear
bob,)

Could someone give me a example on how this would
work?  Does not need to be complex just needs to show
me the functions and where what goes.  I have tried a
few techniques but have failed so thought I'd post
here.

Thanks in advance!

Jerry


http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux