Data Bridge 1.0.8
Emails are not being delivered to destination emails.
contact.php
Thanks,
Michael
Emails are not being delivered to destination emails.
contact.php
Thanks,
Michael
who is your host?
In the Universal Email server behavior, what have you entered for the SMTP Server and Port number
What have you entered for the from address?
What have you entered for the to address?
to help troubleshoot, add the following code to the thankyou.php page just be fore the closing </body> tag:
<pre><?php var_dump($_SESSION); ?></pre>
It returned NULL
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Answers to your questions:
what have you entered for the SMTP Server? nothing specified
and Port number? nothing specified
What have you entered for the from address? Menes_Contact-Form@meneslawfirm.com
What have you entered for the to address? menesj@meneslawfirm.com, info@meneslawfirm.com, serviceengineer@xceldatatechnologies.com
you didn't answer any of the questions i asked...........
add the following at line 1 of the thankyou page to force it to find the session:
<?php @session_start(); ?>
I revised it to include answers to your questions --- here they are again.
Answers to your questions:
what have you entered for the SMTP Server? nothing specified
and Port number? nothing specified
What have you entered for the from address? Menes_Contact-Form@meneslawfirm.com
What have you entered for the to address? menesj@meneslawfirm.com, info@meneslawfirm.com, serviceengineer@xceldatatechnologies.com
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Below is the output it generated.
array(11) {
["waue_contact_1_Total"]=>
int(0)
["waue_contact_1_Index"]=>
int(0)
["waue_contact_1_Remaining"]=>
int(0)
["waue_contact_1_Log"]=>
string(277) "Sending To: menesj@meneslawfirm.com, info@meneslawfirm.com, tope@meneslawfirm.com, serviceengineer@xceldatatechnologies.com... mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() - Failure
"
["waue_contact_1_From"]=>
string(35) "Menes_Contact-Form@meneslawfirm.com"
["waue_contact_1_To"]=>
string(111) "menesj@meneslawfirm.com, info@meneslawfirm.com, tope@meneslawfirm.com, serviceengineer@xceldatatechnologies.com"
["waue_contact_1_Subject"]=>
string(31) "Menes Law Firm --- Contact Form"
["waue_contact_1_Body"]=>
string(6008) "
--WAMULTIBREAKWA
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Menes Law Firm
The problem solving Lawyers
Form Submitted 9-19-2012 | 11:13 AM PDT
FirstName: Michael
LastName: Folorunso
Phone: 222 333 4444
Email: abc@xyz.com
Reason: Inquiry
Message: Test
Submit1: send Email
Additional Notes:
--WAMULTIBREAKWA
Content-Type: text/html
Menes Law Firm
The problem solving Lawyers
Form Submitted 9-19-2012 | 11:13 AM PDT
FirstName: Michael
LastName: Folorunso
Phone: 222 333 4444
Email: abc@xyz.com
Reason: Inquiry
Message: Test
Submit1: send Email
Additional Notes:
--WAMULTIBREAKWA--
"
["waue_contact_1_Header"]=>
string(427) "MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA"
From: Menes_Contact-Form@meneslawfirm.com
Cc: meneslaw@hotmail.com
Reply-To: Menes_Contact-Form@meneslawfirm.com
Return-Path: Menes_Contact-Form@meneslawfirm.com
X-Sender: Menes_Contact-Form@meneslawfirm.com
X-Priority: 3
Date: Wed, 19 Sep 2012 11:13:48 -0700 (PDT)
Message-ID: <16100.d6d3f8003b6386c48b56cb5bda32bd73@meneslawfirm.com>
"
["waue_contact_1_Error"]=>
string(134) "mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()"
["waue_contact_1_Status"]=>
string(7) "Failure"
}
the output says:
["waue_contact_1_Log"]=>
string(277) "Sending To: menesj@meneslawfirm.com, info@meneslawfirm.com, tope@meneslawfirm.com, serviceengineer@xceldatatechnologies.com... mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() - Failure
"
This means that leaving the email server and port settings blank wont work on your host.
you will need to contact the host to find the correct SMTP server and port to enter.
After entering the SMTP information and using port 25, below is the Message that is coming up. It is stating that
array(11) {
["waue_contact_1_Total"]=>
int(0)
["waue_contact_1_Index"]=>
int(0)
["waue_contact_1_Remaining"]=>
int(0)
["waue_contact_1_Log"]=>
string(220) "Sending To: menesj@meneslawfirm.com, info@meneslawfirm.com, tope@meneslawfirm.com, serviceengineer@xceldatatechnologies.com... mail(): SMTP server response: 550 No such user here - Failure
"
["waue_contact_1_From"]=>
string(35) "Menes_Contact-Form@meneslawfirm.com"
["waue_contact_1_To"]=>
string(111) "menesj@meneslawfirm.com, info@meneslawfirm.com, tope@meneslawfirm.com, serviceengineer@xceldatatechnologies.com"
["waue_contact_1_Subject"]=>
string(31) "Menes Law Firm --- Contact Form"
["waue_contact_1_Body"]=>
string(6060) "
--WAMULTIBREAKWA
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Menes Law Firm
The problem solving Lawyers
Form Submitted 9-19-2012 | 2:44 PM PDT
FirstName: Michael
LastName: Folorunso
Phone: 222 333 4444
Email: abc@xyz.com
Reason: General Comment
Message: Testing testing 1 2 3 4
Submit1: send Email
Additional Notes:
--WAMULTIBREAKWA
Content-Type: text/html
Menes Law Firm
The problem solving Lawyers
Form Submitted 9-19-2012 | 2:44 PM PDT
FirstName: Michael
LastName: Folorunso
Phone: 222 333 4444
Email: abc@xyz.com
Reason: General Comment
Message: Testing testing 1 2 3 4
Submit1: send Email
Additional Notes:
--WAMULTIBREAKWA--
"
["waue_contact_1_Header"]=>
string(427) "MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA"
From: Menes_Contact-Form@meneslawfirm.com
Cc: meneslaw@hotmail.com
Reply-To: Menes_Contact-Form@meneslawfirm.com
Return-Path: Menes_Contact-Form@meneslawfirm.com
X-Sender: Menes_Contact-Form@meneslawfirm.com
X-Priority: 3
Date: Wed, 19 Sep 2012 14:44:42 -0700 (PDT)
Message-ID: <18616.d6d3f8003b6386c48b56cb5bda32bd73@meneslawfirm.com>
"
["waue_contact_1_Error"]=>
string(77) "mail(): SMTP server response: 550 No such user here"
["waue_contact_1_Status"]=>
string(7) "Failure"
}
first question form my original replay was:
this question remains un answered....
The response form the SMTP server:
["waue_contact_1_Error"]=>
string(77) "mail(): SMTP server response: 550 No such user here"
means one of 2 things:
a) the server you entered requires authentication.
b) the from address you entered is not a valid address for your domain
You may need to enable the option to pass the From Address as an extra parameter, for some hosts this is needed.
you may need to opt to use pear Mail for SMTP instead of the standard mail object.
your host may have other requirements in place for sending email from a php script. I don't know since i don't know who your host is...
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.