Forums / General Questions / Can't send/receive emails from the the Contact US page?

Can't send/receive emails from the the Contact US page?

Locked

Views: 12,907

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
31 Dec 2009, 4:54 PM
#1
newmember avatar

newmember

New Zenner

Join Date:
Jun 2004
Posts:
31
Plugin Contributions:
0

Can't send/receive emails from the the Contact US page?

I cant send emails from the contact page.

People get their emails from orders etc, but from my contact us page, no one gets an email.
Where do I look to debug this?
I did try changing the DEBUG to level 4 in functions_email.php but I did not see any output.

Any ideas?

Thanks

31 Dec 2009, 8:13 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Can't send/receive emails from the the Contact US page?

If there is no Store Owner Email Address set, or if you've set values in the Contact-Us Pulldown field but not followed the prescribed pattern, then it cannot send the emails because there is no valid address to which to send.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Dec 2009, 10:05 PM
#3
newmember avatar

newmember

New Zenner

Join Date:
Jun 2004
Posts:
31
Plugin Contributions:
0

Re: Can't send/receive emails from the the Contact US page?

Does this look correct?

E-Mail Transport Method PHP
E-Mail Linefeeds LF Info
Use MIME HTML When Sending Emails true Info
Send E-Mails true Info
Email Archiving Active? false Info
E-Mail Friendly-Errors true Info
Email Address (Displayed to Contact you) [email protected] Info
Email Address (sent FROM) [email protected] Info
Emails must send from known domain? No Info
Email Admin Format? HTML Info
Send Copy of Order Confirmation Emails To Info
Send Copy of Create Account Emails To - Status 0 Info
Send Copy of Create Account Emails To Info
Send Copy of Tell a Friend Emails To - Status 0 Info
Send Copy of Tell a Friend Emails To Info
Send Copy of Customer GV Send Emails To - Status 0 Info
Send Copy of Customer GV Send Emails To Info
Send Copy of Admin GV Mail Emails To - Status 0 Info
Send Copy of Customer Admin GV Mail Emails To Info
Send Copy of Admin Discount Coupon Mail Emails To - Status 0 Info
Send Copy of Customer Admin Discount Coupon Mail Emails To Info
Send Copy of Admin Orders Status Emails To - Status 0 Info
Send Copy of Admin Orders Status Emails To Info
Send Notice of Pending Reviews Emails To - Status 0 Info
Send Notice of Pending Reviews Emails To Info
Set "Contact Us" Email Dropdown List Info
Allow Guest To Tell A Friend true Info
Contact Us - Show Store Name and Address 0 Info
Send Low Stock Emails 0 Info
Send Low Stock Emails To Info
Display "Newsletter Unsubscribe" Link? true Info
Audience-Select Count Display true Info
SMTP Email Account Mailbox Info
SMTP Email Account Password Info
SMTP Email Mail Host 192.168.0.32 Info
SMTP Email Mail Server Port 25 Info
Convert currencies for Text emails £,£:€,€ Info

31 Dec 2009, 10:25 PM
#4
newmember avatar

newmember

New Zenner

Join Date:
Jun 2004
Posts:
31
Plugin Contributions:
0

Re: Can't send/receive emails from the the Contact US page?

I was able to do more homework based some of the words you used in your message.
I set up Email Achieve and this is what I got from the first message.
I changed the domain names, but the domains were what I had expected.

Module: contact_us

To: Modular 51 [[email protected]]
From: dec31 [[email protected]]
Sent: 2009-12-31 14:20:47
Subject: Message from Modular 51

Message Excerpt:

From: dec31
e-mail: [email protected]


test3:32


Office Use Only:
From: dec31
e-mail: [email protected]
Login Name: Not logged in
Login e-mail: Not logged in
IP Address: 68.144.191.0
Host Address: S22.cg.shawcable.net
Date and Time: Thu Dec 31 2009 14:20:47 PST...

1 Jan 2010, 9:02 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Can't send/receive emails from the the Contact US page?

So ... since the email is showing in the Archive, that means Zen Cart successfully prepared and sent the email, successfully delivering it to the mailserver engine for routing.
Whatever happens after that is up to the mailservers, and is outside the control of Zen Cart.

As explained in the following articles, sometimes switching to "sendmail -f" or SMTPAUTH may help work around the problem if it's because the server is rejecting the email because it's sent from an unauthenticated PHP script.
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Understanding_Causes_Of_Lost_Emails
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems

Additionally, it's not uncommon for internal mail routing problems to occur within a network. And, since your server could conceivably be sending from itself ... back to itself ... it may very well be dumping the messages into a black hole because it sees that as spammy. Using an external destination email address by entering it into the Contact-Us Pulldown (in prescribed format) may help get around that problem.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Jan 2010, 5:39 PM
#6
snehalrana avatar

snehalrana

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Can't send/receive emails from the the Contact US page?

We are having similar issue. Emails are received if I send it via Tools > Send Mail feature. It comes through, but not via contact us email. Neither do I receive any admin emails showing any new customer or contacts who signed on to my site. I have all the settings / Value in place as mentioned above. But no luck.

Any suggestion and help would be greatly appreciated.

Regards,
Snehal H.Rana

Thanks
Snehal H. Rana
Zen Follower

7 Jan 2010, 3:45 AM
#7
snehalrana avatar

snehalrana

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Can't send/receive emails from the the Contact US page?

I found the solution to my own problem. I did the following:

  1. Sign in as Administrator
  2. Go to Configuration > Email Options
  3. Enter smtpauth for E-Mail Transport Method
  4. In Set "Contact Us" Email Dropdown List - Add the email in following format: Information[email protected];

This did the trick for me.

Thanks
Snehal H. Rana
Zen Follower

28 Jan 2010, 9:41 PM
#8
newmember avatar

newmember

New Zenner

Join Date:
Jun 2004
Posts:
31
Plugin Contributions:
0

Re: Can't send/receive emails from the the Contact US page?

I am still stuck on this problem.
When I use smtpauth I see zen-cart trying to connect to my email server on 25 to try to send an email.
When I use smtp I didn't see any traffic attempting to send an email to mail server.
Both email server and zencart are on the same network and can ping each other.
I am only using the IP address for the mail server. (my setting are above).

Interesting that I set up postfix on the zencart server to try to make it the local smtp server. Well it was interesting to see that the smtp option sent the email but the senders email address for the TO: address and the FROM: address was the subject line. In the email was the "Office only" data as well.

Does any of this look familiar?

28 Jan 2010, 10:46 PM
#9
newmember avatar

newmember

New Zenner

Join Date:
Jun 2004
Posts:
31
Plugin Contributions:
0

Re: Can't send/receive emails from the the Contact US page?

Doh.
I got it.
I needed the less than and greater symbols. [email protected]
How did I miss that right there in front of me was the example.

Thanks all is good now.