Results 1 to 7 of 7

Thread: Sendmail.php

  1. #1
    Join Date
    Nov 2004
    Posts
    1,822

    Default Sendmail.php

    Displaying peoples email addresses sucks big time :
    1) you get spam
    2) it stops people addign your site because they will get spam
    3) Competitors will harvest email addresses and fire off emails for their websites

    You need to run the file through sendmail, like it does with the users email address on whos_online.

    Anybody done this for v5 yet? anybody want to help? Im pretty busy, so its going to be ages for me to do it - although i could pay someone if people here are willing to pay $10 a copy for the code... or wait 1-2 months for me to do it... or bug dody

    ps.
    You can add a nice message to the bottom of email that says " contact courtesy of YOUR WEBSITE NAME"
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  2. #2
    Join Date
    Jul 2004
    Posts
    37

    Default

    hello inspireme
    i would like to do this mod not for money (even if you can send me $10 on my pp acct )
    but what exactely the mod shoud do:
    Please explain ...

    also if i make it it's for all

  3. #3
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    I have been looking into this and i dont think it will be too hard. Im going through my 3.2 indexU site and tryign to get all the mods working before i switch

    see what happens with the email address here :
    http://www.bigfreeguide.com/camping/...e_farm-82.html

    Its hidden, it just says send email to "title" this hides the email from everyone and stops abuse.

    I think the best way in version 5 will be to pass the link_id to the form as a hidden field, let the user type in the message and then when they send it have a routine in the sendmail file that connects to the DB, grabs the email and sends it based on the link_id passed from the form.

    You may have better idea. You can with smarty then have an <if email !=0> </if> to decide if their is an email and weather to display the send email link.

    Currently its using a mailto: link, whch will mean its a magnet for spam... really wouldnt be ahppy going live with new site without a way to protect the webmasters who add to my site.

    My second request was to add a site message to the end of each email ( jsut .$message in the php file to append a little site promotion!)

    It would be great if you could help, i think its a mod lots of users would appreciate.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  4. #4
    Join Date
    Jul 2004
    Posts
    37

    Default

    i finish and publish tomorrow
    jst to try with a lot of combinations
    i trying to code in spirit of indexu
    hope dido will appreciate


  5. #5
    Join Date
    Jul 2004
    Posts
    37

    Default

    Mod sendmail link owner
    i put 1.0.0 for fun lol

    well $10 on pp acct
    for who is interested ask me my pp acct on pv
    i will give it
    Attached Files Attached Files

  6. #6
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    sweet
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  7. #7
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    works great, just one change i would suggest - because some people dont have the email address available we dont need the "send email" to show up on those listings so you could use this in the tempalte file :

    Code:
        <%if $email !='' %>
      <tr class=tbl_normal>
        <td>Email</td>
        <td>
             <a href="sendmail_link_owner.php?id=<%$link_id%>">Send an email</a>
        </td>
      </tr>
      <%/if%>
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. Problem sending mail [sendmail.php]
    By life in forum v5.x
    Replies: 2
    Last Post: 09-20-2005, 11:03 AM
  2. using sendmail for link-detail
    By tjoerg in forum v3.2
    Replies: 4
    Last Post: 09-05-2003, 08:47 PM

Posting Permissions

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