Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I Give Up


kiwihawk

Recommended Posts

Posted

I've searched thru the forums, I've tried all the suggestions I can find but I cannot get the email to work!

 

Send email to customer from admin works ok.

Contact form works ok.

 

New user registration does not work

 

Customer ordering product does not send any email to store owner

 

tell-a-friend does not work

 

password reminder does not work.

 

 

Guess all the good design work was for nothing.

Looks like I will have to find another product unless someone has some more ideas.

Posted
I've searched thru the forums, I've tried all the suggestions I can find but I cannot get the email to work!

 

Send email to customer from admin works ok.

Contact form works ok.

 

New user registration does not work

 

Customer ordering product does not send any email to store owner

 

tell-a-friend does not work

 

password reminder does not work.

Guess all the good design work was for nothing.

Looks like I will have to find another product unless someone has some more ideas.

 

well, if you enlighten us with your environment, email settings, etc, we may be able to come up with something.

Treasurer MFC

Posted
well, if you enlighten us with your environment, email settings, etc, we may be able to come up with something.

 

 

Running on a windows server - MySql database.

My smtp is in the format mail.mydomain.co.nz

 

What other information can I give you that would help?

Posted
Running on a windows server - MySql database.

My smtp is in the format  mail.mydomain.co.nz

 

What other information can I give you that would help?

 

I use the same environment, let me share my settings for smtp.

 

in configuration - email options I have :

 

E-Mail Transport Method smtp

E-Mail Linefeeds CRLF

Use MIME HTML When Sending Emails true

Verify E-Mail Addresses Through DNS false

Send E-Mails true

 

 

in php.ini I have :

 

 

[mail function]

; For Win32 only.

;smtp of my isp

SMTP = msa.hinet.net

smtp_port = 25

 

; For Win32 only.

sendmail_from = [email protected]

 

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").

;sendmail_path =

 

 

** I noticed that you need to set sendmail_from to whatever or nothing is send.

Treasurer MFC

Posted
I use the same environment, let me share my settings for smtp.

 

in configuration - email options I have :

 

E-Mail Transport Method  smtp   

E-Mail Linefeeds  CRLF

Use MIME HTML When Sending Emails  true

Verify E-Mail Addresses Through DNS  false

Send E-Mails  true

in php.ini I have :

[mail function]

; For Win32 only.

;smtp of my isp

SMTP = msa.hinet.net

smtp_port = 25

 

; For Win32 only.

sendmail_from = [email protected]

 

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").

;sendmail_path =

** I noticed that you need to set sendmail_from to whatever or nothing is send.

 

Where will I find the php.ini file?

I run the software on a hosted server and not my own. Will I need my ISP to change it for me or can I upload my own php.ini? And if so where would I put it?

 

Thanks so much for your help. I think we might be on the right track.

Posted
Where will I find the php.ini file?

I run the software on a hosted server and not my own. Will I need my ISP to change it for me or can I upload my own php.ini? And if so where would I put it?

 

Thanks so much for your help. I think we might be on the right track.

 

 

if you are hosted then your host owns the php.ini file, you will not even have one.

I would contact them directly to ask them whether they have set smtp and if not, how you can get your emails out.

Treasurer MFC

Posted
if you are hosted then your host owns the php.ini file, you will not even have one.

I would contact them directly to ask them whether they have set smtp and if not, how you can get your emails out.

 

 

Will do that immediately. Thank you very much for your help.

 

BTW you have a very beautifully designed site.

By any chance would you be willing to share the header. I have been trying to get similar tabs working without much success.

Posted
if you are hosted then your host owns the php.ini file, you will not even have one.

I would contact them directly to ask them whether they have set smtp and if not, how you can get your emails out.

 

 

by the way, the admin email function uses a different function to send emails.

I have no idea why that is but it uses the email class from the mail.php file.

 

there it says:

 

$mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', $from, $subject);

 

 

in order confirmation email a different approach is used:

in checkout_process:

 

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

Treasurer MFC

Posted
by the way, the admin email function uses a different function to send emails.

I have no idea why that is but it uses the email class from the mail.php file.

 

there it says:

 

      $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', $from, $subject);

in order confirmation email a different approach is used:

in checkout_process:

 

  tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

Would it then be possible to copy the admin email function into checkout_process to overcome the problem. The admin emails are working so obviously $mimemessage etc works whereas tep_mail etc doesnt.

 

I will still try the php.ini solution first but maybe the other could be considered as an alternative fix.

 

Thanks....

Posted
Will do that immediately. Thank you very much for your help.

 

BTW you have a very beautifully designed site.

By any chance would you be willing to share the header. I have been trying to get similar tabs working without much success.

 

 

sure, I posted this some time ago in the contribution section :

 

 

http://www.oscommerce.com/community/contributions,1023

 

my version was from nov 5 I think but there have been additions to it.

 

If you run into trouble with it, just mention it and I can send you the latest version.

Treasurer MFC

Posted

Even on a shared server, if site security is set to High, you may have a local copy of the php.ini file which you will have access to. Try looking for a directory pathway something like etc/php in your FTP folders.

 

The only problem with this local copy of php.ini is that it does tend to get overwritten when a hosting company applies upgrades to the servers.

 

Vger

Posted
Would it then be possible to copy the admin email function into checkout_process to overcome the problem. The admin emails are working so obviously $mimemessage etc works whereas tep_mail etc doesnt.

 

I will still try the php.ini solution first but maybe the other could be considered as an alternative fix.

 

Thanks....

 

 

ok, check the php.ini issue first, if that does not resolve it we'll look into the mail workaround.

Treasurer MFC

Posted
sure, I posted this some time ago in the contribution section :

http://www.oscommerce.com/community/contributions,1023

 

my version was from nov 5 I think but there have been additions to it.

 

If you run into trouble with it, just mention it and I can send you the latest version.

 

Tried out your tabs contribution and it works and looks great.

Now for the big "ask".

 

Where these tabs designed in Photoshop and would you have the psd files that you could share.

 

I'm no designer and am having trouble recreating the tabs in my custom colors and still having them look as great as yours.

Posted
Tried out your tabs contribution and it works and looks great.

Now for the big "ask".

 

Where these tabs designed in Photoshop and would you have the psd files that you could share.

 

I'm no designer and am having trouble recreating the tabs in my custom colors and still having them look as great as yours.

 

 

actually no, I do not have the psd files as these images came with another contribution and I simply used them to combine them into the catagory listing.

I tried to merge them into psd some time ago. I'll check what I have and post it as a contribution if it is valuable.

Treasurer MFC

Posted
actually no, I do not have the psd files as these images came with another contribution and I simply used them to combine them into the catagory listing.

I tried to merge them into psd some time ago. I'll check what I have and post it as a contribution if it is valuable.

 

The default images are great, but unfortunately the wrong color for me. I tried to change them in Photoshop, but the quality in my work was sadly missing!

Posted
ok, check the php.ini issue first, if that does not resolve it we'll look into the mail workaround.

 

Asked my ISP to make the change to the php.ini and this was his response:

 

The referenced php.in file is a system-wide configuration file.  Any and all changes made to that file apply to all sites making use of PHP on that system.  As such, making a change to that file for the referenced parameters would simply not be feasible, since it is a shared server environment.

However, you might try to invoke PHP's built-in ini_set() function; which allows for the customization of PHP system variables on a particular domain/site

 

So looks like I need an alternative. Are you able to help me some more?

Posted
ok, check the php.ini issue first, if that does not resolve it we'll look into the mail workaround.

 

One other thing he suggested was:

 

"one thing you may want to check is the path to the sendmail function. It should be, /usr/sbin/sendmail"

 

Could this be inserted somewhere to help?

Posted
dont use aliases in the admin area

No

Customer Service <[email protected]>

Yes

[email protected]

 

Already done that, but thanks for the suggestion.

 

Its got something to do with it not being able to find the mail server. Somewhere I need to tell it to look for mail.mydomain.co.nz. It cant be put in the php.ini so it needs to go somewhere else.

Posted

there is an email test contribution, also your mail server may require smtp with authentication (another contribution).

if all else fails get another host.

Posted
ok, check the php.ini issue first, if that does not resolve it we'll look into the mail workaround.

 

Ok, I set up the smtp contribution and the same results as before with the php mail:

 

send email to customers from admin: ok

contact form : ok

new registration: not working

order confirmation to customer: not working

tellafriend: not working

 

I need badly to overcome this problem as its the only thing stopping me from going 'live'.

 

Any suggestions from anyone?

  • 3 weeks later...
Posted
Ok, I set up the smtp contribution and the same results as before with the php mail:

 

send email to customers from admin: ok

contact form : ok

new registration: not working

order confirmation to customer: not working

tellafriend: not working

 

I need badly to overcome this problem as its the only thing stopping me from going 'live'.

 

Any suggestions from anyone?

 

i would try a different hosting/server company. i use lunarpages and it has oscommerce built in their system through fantastico. you might give them a try.

my settings are:

email transport method: sendmail

email linefeeds: LF

Use MIME HTML when sending emails: false

verify email addresses through DNS: false

Send emails: true

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...