Jump to content

[SOLVED] Mail function


Azu

Recommended Posts

I have it so that when somebody registers they get sent an e-mail with a link to click on to verify that it is really their e-mail. This part works okay.

 

Now what I want to do is have it so that there is a function to e-mail another member, but without getting their e-mail address (unless they reply) this way spammers won't be able to harvest anyone's e-mail address.

And I want to have it so that the recipient knows where the e-mail is coming from rather then just have the from address always be my website, so if it is spam, they can just block that spammer's e-mail, and continue to get normal e-mail.

 

The problem is, I can't figure out how to put the senders e-mail address into the from field so that the recipient will get their address.

 

Can someone please tell me how to do this?

 

It should be like if the person e-mails the other person normally, except that you will only know the e-mail address of people who e-mailed you already, so that it can't be abused by spammers.

Link to comment
Share on other sites

You dont want someone who recives an email, to see the address there replying to?? is this correct?

If so the only way i can see of doing this would be to have a pm system on the site, forwording to peoples email, or a horendsly complicated system where all mails are sent to you server, and then forworded based on a unique id number.

 

As to the making it look like its from someone else, just define the address its suposed to be from as a variable in the mail() function.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.