SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    Maybe mandkr67's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "mailto" to more than one addy?

    If I'm using this current mailto code,
    HTML Code:
    <A HREF="MAILTO:youremailaddyhere@wherever.com?subject=What ever you want the subject to read">
    Your Email Addy or name</A>
    how would I go about sending it to more than one address?

    I'm using the mailto in a form as a submit button and I'd like the form information to go to at least two addresses.

  2. #2
    Smart programmer silver trophy M.Zeb Khan's Avatar
    Join Date
    Jan 2004
    Location
    Luton, Beds
    Posts
    1,791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <A HREF="MAILTO:email1@mzeb.com,[email]email2@mzeb.com[/email],[email]email3@mzeb.com[/email]?subject=What ever you want the subject to read">
    Your Email Addy or name</A>
    Hope this helps..

  3. #3
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Get a real form processor script in PHP or something. Some browsers will open the email client rather then send the form with mailto:.

  4. #4
    Maybe mandkr67's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    M.Zeb, so I can just seperate the addys with comma? It doesn't have to be a semi-colon...

    mstwntd, I'm not too hip to php and I'm not fond of free, remotely hosted scripts so this is the best I can do for now.

    Thanks guys!

  5. #5
    Smart programmer silver trophy M.Zeb Khan's Avatar
    Join Date
    Jan 2004
    Location
    Luton, Beds
    Posts
    1,791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think comma & semi-colon. works same

  6. #6
    Maybe mandkr67's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, tx!

  7. #7
    webdesign Percept's Avatar
    Join Date
    Jan 2003
    Location
    Belgium
    Posts
    397
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mstwntd
    Get a real form processor script in PHP or something. Some browsers will open the email client rather then send the form with mailto:.
    I have to agree with mstwntd, a processor script is more userfriendly ( not everyone has set up a mailclient ) and spambots can't get too the emailadresses with a processor form.


  8. #8
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by mandkr67

    mstwntd, I'm not too hip to php and I'm not fond of free, remotely hosted scripts so this is the best I can do for now.

    Thanks guys!
    If your host supports php let me know. I've got a really simple, easy script handy.

  9. #9
    SitePoint Wizard rbutler's Avatar
    Join Date
    Jul 2003
    Location
    Springfield, MO
    Posts
    1,867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Same here if you want it.
    Ryan Butler

    Midwest Web Design


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
  •