Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2010
    Posts
    62
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Sending messages?

    I don't like using sites like Facebook because i think there's so little privacy. So i made up a list of all my friends using HTML and CSS. But could someone tell me if it is possible for me to send someone a message on my friends list just by clicking on their name and without having to go to the likes of Yahoo and Gmail?

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    You have a few options including:

    1) using mailto: in a <form> that opens up the default email client on your pc. You could use javascript to set the email address for the mailto: to be the text in the link you clicked.

    2) if using php, you could use php's mail() function to send a plain text and/or html email containing a form's contents to however many recipients (within limits) you like.

  • Users who have thanked bullant for this post:

    Frump (05-15-2011)

  • #3
    New Coder
    Join Date
    Sep 2010
    Posts
    62
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Thanks for taking the time out to reply bullant. Shall have to do some revision on mailto's and have a good look at learning PHP.

  • #4
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    no problem


  •  

    Posting Permissions

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