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 8 of 8
  1. #1
    Regular Coder
    Join Date
    Jul 2006
    Posts
    110
    Thanks
    1
    Thanked 0 Times in 0 Posts

    "share this page with a friend" - best practice?

    Greetings everyone-
    Have any of you ever use php with the mail() function or swiftmailer to make a "share this site with a friend" page? - I need to build one tomorrow, but I'm not so sure about the best way to do this - Some sites ask you to enter your name and email address - then give you a field to enter some email addresses (separated by commas) - then, some pre-written text in a textarea.
    I imagine the name and email address is used so the email is sent with their name and email as the reply to - but are there risks in this? Is it possible to be flagged as a spam mailserver?? Anyone have any experience with this?

    What do you recommend for "best practice?" I'd appreciate any feedback or suggestions.

    Thanks!

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    I'd say limit the number of friends to under 10 and you'll avoid looking like spam. And the method you have in mind sounds just like I would do it (not that that means it's the best way )\

    Oh wait, I just saw the part where you want to make the email look like it came from the guy who initiates the share... I would not do this, because like you say that probably would make the email look like spam. Just keep the reply-to the same as your mail server and put in the email "your friend wanted to share this with you, yada yada..."
    Last edited by Fumigator; 03-16-2007 at 05:12 PM.

  • #3
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    Making the email look like it came from the person sharing it is common practice, and would most likely make it look less like spam (since it looks like a real email, instead one sent out by a random server).

    Also, a limit of 3-5 seems more reasonable. I highly doubt anyone would ever need more than that.

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,471
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    I've seen both pros and cons to this "send it to a friend" thing ...

    In my personal opinion, it seems sort of "passe" ... like a hit counter.
    Same thing with "guest books".

    If a client requests it though ... I guess you do it for them.

  • #5
    New Coder
    Join Date
    Jul 2006
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My personal taste is that forging it to look like it's from someone is annoying for the recipient.

    Just my 2 pennies.

  • #6
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    I agree about it being like hit counters.

    Why not just copy the link, and send an email yourself.

    The reason why I feel that it coming from the author is better, is that it seems less like someone gave your email address away to some spam company.

    If I get an email from the person themself, I feel less like my inbox is being invaded by something I didn't ask for.

  • #7
    Regular Coder Troy297's Avatar
    Join Date
    Oct 2006
    Location
    Earth
    Posts
    314
    Thanks
    10
    Thanked 0 Times in 0 Posts
    The only reason I ever send the message as the sender is for my site's contact form so that when I receive the mail I can reply directly to them. In your case you would definitely be best to send it from your server or say "suggest@yoursite.com" something of the sort. And ya 3-5 ppl sounds reasonable
    Everyone hears what you say, friends listen to what you say, best friends listen to what you don't say.
    Radio DJ Panel v3 - It's Here!

  • #8
    Regular Coder
    Join Date
    Jul 2006
    Posts
    110
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thanks!

    Thanks for all the suggestions, everyone -
    I remember reading that sending email from an address not associated with the mail server bumps the spam score -
    I could note that "replies to this email will be sent to Company Name" - and still use the sender's name in the "from" section of the email - and also provide the sender's email address in the email -
    Good idea?


  •  

    Posting Permissions

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