Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 3 votes

Email issues


162 replies to this topic

#41 multimixer

  • Community Sponsor
  • 3,437 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 28 August 2009, 05:35

View Postmower, on Aug 28 2009, 01:12 AM, said:

I have set up a test customer with a yahoo email adress.
I made a test purchase and no confirmation email was sent to yahoo.
My admin email adress recieved a copy of the confirmation.
I have set up other test customers with hotmail and google mail accounts and both of these recieved emails.

I also got your registration mail just after registration.

It looks like all mail works fine, except for yahoo. How does the contact us form work? Is there a difference for yahoo and non yahoo senders?

#42 BrainJam

  • Community Member
  • 6 posts
  • Real Name:Dan Porter

Posted 28 August 2009, 20:32

Has anyone used the Captcha tool within oscommerce?

http://www.captcha.net/

Is there an addon for it for use on contact forms?

Or is there a better tool than this?

#43 mower

  • Community Member
  • 6 posts
  • Real Name:Tom Turner

Posted 28 August 2009, 21:08

View Postmultimixer, on Aug 28 2009, 06:35 AM, said:

I also got your registration mail just after registration.

It looks like all mail works fine, except for yahoo. How does the contact us form work? Is there a difference for yahoo and non yahoo senders?


The contact form seems to work ok. I filled it in with a yahoo email adress and my admin email recieved the queary.

I think that the yahoo email problem was on the yahoo side. I sent an email from my yahoo account to my store admin adress and added my admin adress as a contact on my yahoo account.
Now yahoo account recievs emails from my store.

I will need to put some warnings on my regisration and contact pages to let people with yahoo accounts knwo this.

Thanks again for all your help..

Tom

#44 magnumagain

  • Community Member
  • 2 posts
  • Real Name:FM

Posted 31 August 2009, 18:24

Hello,

Having the same problem with the contact us page as before (noLanguage string failed to load: recipients_failedwebmaster@xxxx.com). The funny thing is that I had this problem a month ago and it mysteriously solved itself. Now it is the same issue all over again. My host, GISOL, claims it is none of their problem, and I have nothing more to try. I have changed antispam settings, edited the contact_us page as explained in this topic, emptied the mailbox, etc.

Please, ANY help as to why this is happening.

#45 col_b

  • Community Member
  • 25 posts
  • Real Name:col_b

Posted 03 September 2009, 20:49

View Postcol_b, on Aug 23 2009, 07:10 PM, said:

multimixer,

If I comment out the separator and the store name, they still appear in the email. I haven't tried deleting them outright. I wondered is it possible to send this email without purchasing anything, i.e. to test it to see how things look, without going thru the procedure og actually placing an order.

Cheers,
Col

**BUMP**

Anyone any ideas on this? It's the strangest thing!

Cheers,
Col

#46 skipunda

  • Community Member
  • 102 posts
  • Real Name:chris

Posted 04 September 2009, 08:35

I really enjoyed reading the first couple of posts. Kudos to the original poster. Seems this thread has now turned into a help thread now though :(

Can't these be posted as separate topics and clean up this useful help guide?

Yahoo is not an easy mail store to work with for a number of reasons. Unaware if this is affecting your problem, Yahoo uses domain keys for it's spam filter. You need to include an SPF record for your OScommerce stores', info which your server admin should be able to tell you. This will ensure that mail gets to the right place, with the right header information.

Edited by skipunda, 04 September 2009, 08:46.


#47 bobbi5800

  • Community Member
  • 8 posts
  • Real Name:bobbi

Posted 21 September 2009, 19:52

View Postskipunda, on Sep 4 2009, 09:35 AM, said:

Yahoo is not an easy mail store to work with for a number of reasons. Unaware if this is affecting your problem, Yahoo uses domain keys for it's spam filter. You need to include an SPF record for your OScommerce stores', info which your server admin should be able to tell you. This will ensure that mail gets to the right place, with the right header information.

I was pulling my hair trying to get mail working and found this topic....sure enough when I sent some test mails to other domains besides Yahoo....email is working, I even checked spam folder in Yahoo and nothing. Welcome email, contact us and i was able to send a general email to the non Yahoo domain. This is great however, sooo many people use Yahoo mail, that I would hate to lose business just because Yahoo email is so picky. What is an SPF record, where do we find it and then where do we put it?
Sorry I am not very good with shopping carts, especially OSC (use to use Zen Cart with no probs) yet and I am getting tired from spending so much time working out the kinks in this cart...lol. Thanks!

#48 Ndey

  • Community Member
  • 11 posts
  • Real Name:Andrei Achrat

Posted 13 October 2009, 01:34

Is it possible to make contact us to send to extra email as well?
Pls help….. Thx

#49 multimixer

  • Community Sponsor
  • 3,437 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 13 October 2009, 06:41

View PostNdey, on 13 October 2009, 01:34, said:

Is it possible to make contact us to send to extra email as well?
Pls help….. Thx

Yes, possible. If you want to receive exactly the same email as the store owner then:

1) fill out the "send extra order emails field" in your admin panel

2) in file catalog/contact_us.php

Find the code
if (tep_validate_email($email_address)) {
          tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);
add under it a second tep mail function as follows
// send the contact us form to other people (mm 13 10 2009)
if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
        tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_SUBJECT, $enquiry, $name, $email_address);
         }

If you did the changes like described in post #2 of this topic, then the function should look like this
// send the contact us form to other people (mm 13 10 2009)
if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
        tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_SUBJECT, $email_body, $name, $from_email);
         }

hope it helps :)

Edited by multimixer, 13 October 2009, 06:42.


#50 Ndey

  • Community Member
  • 11 posts
  • Real Name:Andrei Achrat

Posted 13 October 2009, 08:05

Great ..... Thx alot multimixer

View Postmultimixer, on 13 October 2009, 06:41, said:

Yes, possible. If you want to receive exactly the same email as the store owner then:

hope it helps :)


#51 France

  • Community Member
  • 10 posts
  • Real Name:France Peetroons

Posted 23 October 2009, 19:26

Hello
I've a problem since a few days, the new customers don't receive anymore the welcome message, the customer doesn't receive anymore the copy of his order, I can also not more send email via the administartion (and I suppose also newsletter). I've then look in my webmail and see that all the messages are undelivered because the "domain of sender address does not exist". So I contact my host (mavenhosting) who tells me that to fight "spam" the function "mail" is only possible to send an email at an adress of the domain name of the site itself !!!
What can I do ? An idea ?
The "contact us" form is ok.
Thanks in advance
France

#52 multimixer

  • Community Sponsor
  • 3,437 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 24 October 2009, 04:37

So, your host say that the RECEIVER needs to belong to the domain?. It's common that a host require that the sender OR the receiver need to belong to the domain, at yahoo it was the problem that the SENDER needs to belong to the domain, thats why the solution #2

The contact us work, because you are the receiver. For sure you have as a store owner mail address, an email that belongs to your domain, is it so?

With this setting I don't know how to send mails. But I know there are others hosts

#53 France

  • Community Member
  • 10 posts
  • Real Name:France Peetroons

Posted 24 October 2009, 08:04

View Postmultimixer, on 24 October 2009, 04:37, said:

So, your host say that the RECEIVER needs to belong to the domain?. It's common that a host require that the sender OR the receiver need to belong to the domain, at yahoo it was the problem that the SENDER needs to belong to the domain, thats why the solution #2

The contact us work, because you are the receiver. For sure you have as a store owner mail address, an email that belongs to your domain, is it so?

With this setting I don't know how to send mails. But I know there are others hosts
Yes that's it ! I've also need to change my email adress (usually I use this of my provider) for one on my hosting domain, so that I can receive the email at least ! After some mailings, they 'll see if they can remove the protection for my account so that I can work !

#54 France

  • Community Member
  • 10 posts
  • Real Name:France Peetroons

Posted 24 October 2009, 13:19

View PostFrance, on 24 October 2009, 08:04, said:

Yes that's it ! I've also need to change my email adress (usually I use this of my provider) for one on my hosting domain, so that I can receive the email at least ! After some mailings, they 'll see if they can remove the protection for my account so that I can work !
An update : I've tried also to send emails from the adminstration of my os commerce to one of my email adres of another domain hosted by the self host and the mail is also not sent, here is what I see in the webmail regarding this email (I've just replaced the domain name by xxx to avoid spamming):

Quote

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

info@xxxx.com
SMTP error from remote mail server after RCPT TO:<info@xxx.com>:
host xxxx.com [xx.xx.xx.xxx]: 550-Verification failed for <labrador@serveur.maven2-1.com>
550-The mail server could not deliver mail to labrador@serveur.maven2-1.com. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
550 Sender verify failed

So I think it's well a problem to the server of the host and not in my os commerce (because in the last email, they say it was a problem of configuration of my os commerce, or until the 17 oct all was ok and I've made no change)

#55 mrjamcm

  • Community Member
  • 9 posts
  • Real Name:Matt
  • Gender:Male

Posted 24 October 2009, 21:31

I have just setup my site and the contact us form will not work. I'm not receiving any emails. I made the changes you suggested in the second post but I'm still not getting any response. The system says that my emails are sent but I don't receive anything.

I replaced:

if (tep_validate_email($email_address)) {

      tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

with:

// BOF multimixer// 
        //define variable $email_body// 
        $email_body = $enquiry . "\r\n" . $name . "\r\n" . $email_address; 
        // if you want to add more fields do so by adding this line [ ."\r\n" . ] between the fields you wish to display and order them acourdingly// 
        //define variable $from_email. Set to Store owner email address as defined in Admin panel// 
        $from_email = (STORE_OWNER_EMAIL_ADDRESS); 
        //EOF multimixer // 
         
        //BOF Multimixer// 
        // $enquiry replaced by $email_body Includes $email_body to message instead of $enquiry. $email_address replaced by $from_email Email is getting send from $from-email instead of $email_address// 
        if (tep_validate_email($email_address)) { 
          tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $email_body, $name, $from_email); 
          //EOF multimixer//


I have tried all different settings but this is how I currently have them set:

e-mail transport method: sendmail
e-mail line feeds : LF
Use MIME HTML When sending emails: false
verify email addresses through DNS: false
Outside links are not allowed in signatures!

#56 multimixer

  • Community Sponsor
  • 3,437 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 25 October 2009, 03:23

Is your store owner email address an address that belongs to your domain?

How do the other emails work that you send to people? ie order confirmation, admin emails etc?

#57 mrjamcm

  • Community Member
  • 9 posts
  • Real Name:Matt
  • Gender:Male

Posted 25 October 2009, 13:02

View Postmultimixer, on 25 October 2009, 03:23, said:

Is your store owner email address an address that belongs to your domain?

How do the other emails work that you send to people? ie order confirmation, admin emails etc?

Yes, the store owner email address belongs to the domain.


The email within the admin area works. I'm not sure about order confirmation. I'll have to run a test on that.
Outside links are not allowed in signatures!

#58 a.forever

  • Community Member
  • 152 posts
  • Real Name:Kevin
  • Gender:Male

Posted 26 October 2009, 08:49

Hello. I never thought I'd be posting on these forums, but I've hit a roadblock. I've been modifying my site for some time now with little PHP knowledge. Reviewing my error logs today, I found that e-mails weren't getting through to customers.

/usr/sbin/sendmail: unexpected response 553 to RCPT TO command,

So I did some tests and got discovered the following:

Welcome e-mail and order e-mails do not get sent to customers.
Contact Us e-mail does not get sent to store owner.
E-Mails from logging onto Admin does not work.
Send Extra Order Emails To works.
E-Mail Address, E-Mail From, and Send Extra Order Emails To are all the exact same value in the following format myname@domain.com. It does not belong to the domain. Changing it to an address on my domain had no effect.
Ran E-Mail Testing Script contribution and received only the native PHP mail.

It could be that one of my add-ons killed e-mail. But my error logs helped me pinpoint that this problem existed before any major tampering with the site. I'd hate to do a vanilla install to fix this problem. I would appreciate assistance and thank you for your time in reading this post and for helping me.

#59 mrjamcm

  • Community Member
  • 9 posts
  • Real Name:Matt
  • Gender:Male

Posted 26 October 2009, 22:54

View Postmultimixer, on 25 October 2009, 03:23, said:

Is your store owner email address an address that belongs to your domain?

How do the other emails work that you send to people? ie order confirmation, admin emails etc?


Hey Multimixer, after further tests I have found out that the only emails that are working is the admin emails. Contact form and order confirmation are not.

Any suggestions?

thanks.
Outside links are not allowed in signatures!

#60 johnnybebad

  • Community Member
  • 672 posts
  • Real Name:Johnny

Posted 27 October 2009, 21:20

View Postmultimixer, on 24 June 2009, 11:39, said:

I worked out some solutions for mails, they are already posted all around the forum, now I want to share them in a organized way. I hope somebody will find this useful.

A. How to get a notification when a person register.

1) Set up the "extra order emails" feature in Admin/my store

2) In file catalog/create_account.php

Find the lines
email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
	  tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

Place after
 // BOF multimixer 24.6.2009 send emails to other people
	  $owners_text = EMAIL_TEXT_OWNER_INFO . "\r\n" .EMAIL_TEXT_CUSTOMER_NAME . ' ' . $name . "\r\n" . EMAIL_TEXT_CUSTOMER_EMAIL . ' ' .  $email_address . "\r\n" . EMAIL_TEXT_CUSTOMER_PHONE . ' ' . $telephone . "\r\n" . EMAIL_TEXT_CUSTOMER_ADDRESS . ' ' . $street_address . "\r\n" . EMAIL_TEXT_CUSTOMER_CITY . ' ' . $city . "\r\n" . EMAIL_TEXT_CUSTOMER_STATE . ' ' . $state . "\r\n" . EMAIL_TEXT_CUSTOMER_COUNTRY . ' ' . $country;
	  
	  if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
	tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_OWNER_SUBJECT, $owners_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
	 }
	 
	 // EOF multimixer

3) In file catalog/includes/laguages/yourlanguage/create_account.php

Put before the end
// mm 24.6.09
define('EMAIL_OWNER_SUBJECT', 'New registration' );
define('EMAIL_TEXT_OWNER_INFO', 'New customer registration, find details below:');
define('EMAIL_TEXT_CUSTOMER_NAME', 'Name:' );
define('EMAIL_TEXT_CUSTOMER_EMAIL', 'email:' );
define('EMAIL_TEXT_CUSTOMER_PHONE', 'Phone:' );
define('EMAIL_TEXT_CUSTOMER_ADDRESS', 'Address:');
define('EMAIL_TEXT_CUSTOMER_CITY', 'City:' );
define('EMAIL_TEXT_CUSTOMER_STATE', 'State:');
define('EMAIL_TEXT_CUSTOMER_COUNTRY', 'Country:');
This will send an email to the additional email as set in admin for every new customer registration.

Because you don't want to read each time the "hello bla bla" text that the customer receives, it contains just the useful information, name, email etc


Hi,
Just what I was looking for, however I do have a small problem, the name didnt show in the email, but everything else did.

Any ideas, I have uhtml emails installed.

Thanks
Getting better with mods but no programmer am I.