SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Evangelist =X='s Avatar
    Join Date
    Jun 2001
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mail(): if you press reply, can you make it cc automatically?

    if you receive a mail that has been sent with the mail() function, and you want to reply, you can set the reply address to the person who submitted the form, but is it possible when you press reply, that automatically it will be CC'd to another e-mail address?

  2. #2
    SitePoint Evangelist =X='s Avatar
    Join Date
    Jun 2001
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm
    I got a mail that qslack replied to this, but now there doesn't seem to be a reply, but his text contained:
    Usually "Reply" in most email clients means reply only to the first sender. "Reply to All" is what you need.

    If I were you I would just put some instructions in the email you're sending like:
    Not
    it's actually to prevent that me and someone else answer the same mail twice...so if he's the first to read and answer it, I get it cc'ed and I know that i don't need to answer it anymore...
    Now I would never remember pressing reply to all, and even then, it wouldn't be cc'ed, but sent to him...

    and I can't place a warning in the body, cuz when we reply, it contains that body, and potential clients can't see something like that....
    Last edited by =X=; Aug 10, 2001 at 14:27.
    PHP-Webservices - Profesional Hosting and Programming of sites.

  3. #3
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually my post was factually incorrect - I wasn't thinking when I posted it, so I just deleted it because I didn't want to mislead you or anything.

    So just forget I ever posted in this thread and hopefully someone else will come along with an answer.

  4. #4
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If there is a way you can create a header so that the reply will be sent to several recipients - all well and good - but sorry, I don't know enough to help you there.

    My thinking is that this sort of thing should be dealt with by the mail agent on your server. That is, the mail server should receive the one email sent to the reply to address and this message should be forwarded onto the people you want to receive it.

    With most mail transport agents, such as sendmail (if it has been configured to allow this), users can place a file named .forward into their home directory. In this file, you can place a list (comma or new-line delimited) of the email addresses you want to forward the email to. If you want to keep a local copy then just include your local user name in the list. Do a search at google.com for .forward and you will find lots of tutorials on the web.

  5. #5
    SitePoint Evangelist =X='s Avatar
    Join Date
    Jun 2001
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    myeah, but the problem is that I live in another country...my outgoing mail goes trough my ISP...
    PHP-Webservices - Profesional Hosting and Programming of sites.

  6. #6
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't suppose tis is possible. It is however possible to include CC fields when sending via mail()

    You can only specify reply-to: field from the mail() function.
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein

  7. #7
    SitePoint Evangelist =X='s Avatar
    Join Date
    Jun 2001
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    then how do peeps solve my problem? you can ofcourse just manually cc it but I'm lazy
    PHP-Webservices - Profesional Hosting and Programming of sites.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •