Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Posts
    12
    Plugin Contributions
    0

    Default Email from my contact form works but not from the admin send email page

    I'm running into a weird problem. Right now I have zencart running a website. This company has their own exchange server hosted at their office. I have my zen cart configured to use smtpauth. I have all the correct account settings (mail server, username, password and port) Email sends correctly from the contact us form and when someone places an order. But when I try to send out the newsletter or send email using the "Send Mail" form in the admin section. I get an error saying the recipient doesnt exist.

    Now for testing purposes I tried the "PHP" email option. This works perfect from the admin section to an email address that isn't on the same domain, but when I try to send an email from the contact form with these settings I get an error.

    Is there a difference between how the contact form sends mail vs the admin section?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Email from my contact form works but not from the admin send email page

    Quote Originally Posted by jpauthement View Post
    Is there a difference between how the contact form sends mail vs the admin section?
    They both use the same engine for sending the emails.
    .

    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.

  3. #3
    Join Date
    Oct 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Email from my contact form works but not from the admin send email page

    Well that doesn't help me with anything. but thanks for the response :)

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Email from my contact form works but not from the admin send email page

    It's most likely a problem with the configuration of the mailserver. Maybe it doesn't like the sender name coming from your store, or you've not enabled the "Send as known sender" option.

    I would hope you've already reviewed the Email Troubleshooting tips that I've posted links to all over the forum: http://www.zen-cart.com/wiki/index.p...Email_Problems


    If you really want to find out exactly what the server is saying when it rejects the email, edit your /includes/functions/functions_email.php file. Near the top of the file is a define for EMAIL_SYSTEM_DEBUG. Set to 5 instead of 0. Then try sending an email. Then work on figuring out the problem based on the responses received.

    WARNING: With the debug option set to other than 0, it'll halt execution when the email is sent, so DON'T DO IT when customers could be using your site.

    I always cringe when I have to tell someone to edit that file ... because 90% of the time they butcher the file and then it just turns into a nightmare of telling them how to find the original file and upload it back to their server again ... and then they're still stuck because they never did get the debug option turned on ... etc. So, while it often does no good, I'll just add a reminder to make a backup of the file before editing.
    .

    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.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 21 Aug 2015, 01:07 AM
  2. Replies: 3
    Last Post: 29 Sep 2011, 04:56 PM
  3. From Email not showing properly and Contact Form Spam?
    By mask2011 in forum General Questions
    Replies: 4
    Last Post: 26 Oct 2010, 08:26 AM
  4. Sending E-Mail works except from admin/tools/send email
    By Ron Haltermon in forum General Questions
    Replies: 0
    Last Post: 11 Sep 2010, 02:27 PM
  5. email from contact us page showing my email not customers
    By tanik in forum General Questions
    Replies: 3
    Last Post: 22 Jun 2008, 12:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg