Forums / General Questions / strange behavior with mail

strange behavior with mail

Locked

Views: 3,224

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
8 Sep 2006, 1:04 PM
#1
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

strange behavior with mail

Hi,
I have a very strange behavior.
when client do orders , i dont receive mail anymore, but i am receiving mail for low stock, when it happen.

when i am updating order , i dont receive mail anymore , and i was receivinfg before.

i test , and make an order and receive the mail as client but no mail to the admin saying an order as been proceed.
but i receive (admin) the mail saying the article i use to test was low in stock

any help

8 Sep 2006, 1:31 PM
#2
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: strange behavior with mail

Have you still got your email address in ...

admin->configuration->email options->Send Copy of Order Confirmation Emails To:

8 Sep 2006, 4:04 PM
#3
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: strange behavior with mail

yes
i am trying debug this and i read full email header and see something really bad :

X-Source-Args: /usr/bin/php orders.php
X-Source-Dir: MYDOMAIN:/public_html/My_ADMIN_DIR_RENAME

that's bad because even if i rename my admin dir client can still know where it is

anyway to change that ?

8 Sep 2006, 4:15 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: strange behavior with mail

X-Source-yyyyy headers are being added by your webserver.

Nothing much you can do about that other than ask your host to turn that feature off, or switch to a host who doesn't do that.

Hmmm ... you might try using SMTPAUTH mail method to see if it might bypass the PHP details...

.
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.

8 Sep 2006, 4:35 PM
#5
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: strange behavior with mail

DrByte:

X-Source-yyyyy headers are being added by your webserver.

Nothing much you can do about that other than ask your host to turn that feature off, or switch to a host who doesn't do that.

Hmmm ... you might try using SMTPAUTH mail method to see if it might bypass the PHP details...
good Point
i wil try smtpauth to see.
thanks

will give you update when i did all test

8 Sep 2006, 4:53 PM
#6
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: strange behavior with mail

ok
i go to smtp auth
now i am receiving mail (admin part) when i update an order.
but no email (client) are send to client.....

will continue debug this.

8 Sep 2006, 4:55 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: strange behavior with mail

What version of Zen Cart?

.
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.

8 Sep 2006, 4:58 PM
#8
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: strange behavior with mail

i go back to sendmail and all email are sent now.

very strange
any help ?

8 Sep 2006, 4:59 PM
#9
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: strange behavior with mail

DrByte:

What version of Zen Cart?

1.3.0.2

i am preparing move 1.3.5

18 Aug 2009, 5:43 PM
#10
craftystash avatar

craftystash

New Zenner

Join Date:
Jun 2009
Posts:
36
Plugin Contributions:
0

Re: strange behavior with mail

DrByte:

X-Source-yyyyy headers are being added by your webserver.

Nothing much you can do about that other than ask your host to turn that feature off, or switch to a host who doesn't do that.

Could anyone tell me if I am able to move the files in question to a different folder on the server away from my admin folders and if so, what other files would need to be changed so that everything still works as should be.

I have this problem with sending emails and have contacted my hosts. It is not only affecting emails that I send out but is also present on newsletters too. Just host have told me that I have to have a dedicated server to remove this information but that would cost me $150 a month which I just don't have. I also cannot afford to move my site at the moment either.

I'd really appreciate any help or advise you can give.

Thanks Debbie.

19 Aug 2009, 3:18 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: strange behavior with mail

You'd have to do some fancy custom coding to move your various admin functions to someplace outside your admin area ... for each script that sends emails from your admin site. It's not a simple 15-minute task.

.
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.

19 Aug 2009, 6:54 AM
#12
craftystash avatar

craftystash

New Zenner

Join Date:
Jun 2009
Posts:
36
Plugin Contributions:
0

Re: strange behavior with mail

Thank you Dr Byte,

I'm not very good with coding at the best of times so I guess I am snookered in that respect. I really appreciate your time in answering.

Oh well, best start saving LOL!