Jump to content

[SOLVED] Email system.


cpharry

Recommended Posts

Before i start i have go not much php knowledge so dont give it to me in jargon that i wont understand.

 

Basically i have setup a script that when the user puts there email in its send an email to me stating the email as the title and another email to the person saying that we have recieved it.

 

The problem i have is that the email a new person gets automatically goes in their junk box and the sender is wowbasec@node2.infusiondns.com

 

Now thats rubbish and i dont want it to be that i want it to be suggest@wow-base.co.uk

 

Heres the code for the process page im using.

 

<?php
  $email = $_REQUEST['email'] ;
  $message = $_REQUEST['message'] ;
  $to = $_REQUEST['email'] ;
  $subject = "WoW Base";
  $body = "
  
Hello,\n

We have recieved your email. As soon as we have a precise date for opening we will email it to you.\n

After we fully open you will recieve a monthly newsletter. If you dont wish to recieve it then please reply to this email stating that.\n

WoW Base\n";

  mail( "$email", "WoW Base Email Notification", "$body", "$email" );

  mail( "suggest@wow-base.co.uk", "Newsletter & Opening Email",
    $message, "From: $email" );
  header( "Location: http://www.wow-base.co.uk/" );

?>

 

www.wow-base.co.uk

 

Thats the site its all working but not right as i have said at the top.

 

Thanks to any that can help.

 

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.