cancel
Showing results for 
Search instead for 
Did you mean: 

Two questions: senders information on forms and emails going to junk mail

ylaw
Member

Hello,

I have two questions and would appreciate if anyone can advise.

1. I have set up a form on my website (www.xeedconsulting.com/qform.html) - all built with HTML & PHP scripts.

When I receive the email with the information, senders address is stated as xeedconsulting.com@carrierzone.com  instead of the email address stated in the form. Is there a way round this?

(on a slight can anyone suggest appropriate source for php code for feedback forms)

 

2. Whenever I send an email from exchanged (provided by BT as part of the webhosting package), it goes into the junk box. So my clients and suppliers are not receiving my emails. Can you please advise on what to do to avoid this.

 

 

Many thanks.

 

 

11 REPLIES 11

orchie
Grand Master
Can you post the code of your phpmail.php file and I might be able to help

Tracey
Guru

Hi ylaw,

 

We deeply apologize for the inconvenience, but please be informed that we would need your php form code in order to investigate your issue further, though  we suggest that you edit your form code using 'localhost' instead of 'mail.domain.com' - that may resolve your issue.

 

As for your email issue - please kindly provide us with full headers of the messages. 

 

The following link will help you to retrieve full Internet headers: Internet Headers .

 

 

Thanks in advance

 

Tracey

 

BT Forum Moderator





If you like a post please click on the star image on the left-hand side of the post.
If someone answers your question correctly please let other Forum members know by clicking on Accept as Solution on the right-hand side of the answer post. Please also consider replying to the post stating that your question has been answered successfully.

ylaw
Member

PHP code is as follows I've tried to keep this simple just to test it works before I add other fields.

 

<?php
  $email = $_REQUEST['email'] ;
  $message = $_REQUEST['message'] ;
  $fname = $_REQUEST['fname'] ;

 

  mail("info@xeedconsulting.com", "Feedback Form Results",
    $message, "From: $email" );

 

  echo("Thanks for contacting Xeed Consulting. We will respond to your enquiry as soon as possible");

?>

 

 

ylaw
Member

Hello and thanks for the response.

I dont seem to have the option for internet headers using Outlook Web Access. I have looked at the suggested link, but the steps shown for Outlook dont work for OWA. Any other suggestions?

Thanks.

ylaw
Member

Hello

CAn anyone help with these questions please. I provided the response to BT forum moderator but no further response. I am desperate as I cant sent emails from my account.

Andy75
Power User

Hi there,

 

Regarding your Email question, please use the following steps to view e-mail headers:

Outlook Web Access

  • Left click on the letter you want to open and click on properties
  • When that opens click on the details tab
  • Then on message source
  • This will open the email so the full headers will be available for viewing
  • Select and copy the text. Paste into a new message.
 
Regarding your PHP script:
 
Please be advised that we do not provide technical support for coding related issues.  Sorry about that.
 
Regards
 
Andy
 
BT Forum Moderator
 
 

ylaw
Member

Hello, thanks for the response.

I have followed the instructions given.

When I open the message, left click on it and select Properties, there is only one tab called general, There is no tab called Details.

I am using BT's Outlook Web access provided as part of the web hosting package. Is there another way of getting the information?

 

orchie
Grand Master
Try using www.freecontactform.com or check your code against this one might help

spank
Grand Guru

Hi there,

 

The PHP form is using a mail server to send the email.  The mail server has a level of authentication on it that requires several parameters to be met before it will allow an email to be sent.  One of those parameters is a valid email address it has on it's authorisation list or white list.

 

So basically you can't send an email through that form using someone elses email address as it will not be on the white list, so it uses your own domain one instead.  This cannot be changed unless you use an open relay mail server which is not even worth considering.

 

The reason your emails are being rejected is probably because there is no subject line, create one within your form and spam blockers will treat as legit mail.

 

Thanks