jperrell Posted October 2, 2006 Posted October 2, 2006 So password_forgotten.php is unmodified.. when a user attempts to reset their forgotten password all seems to go well they get a 'success' page and their password is actually changed to something else. Unfortunately there is no email sent to tell them what their newly changed password is.. I continue to read through the file to hopefully work this out but any help or ideas in the meantime would be wonderful. Meaningful. Creative. Change.
Turbo Posted October 30, 2006 Posted October 30, 2006 man.....happens for me too.....only emails that are beeing sent out are the ones from the contact us page. mails from admin to the consumers and the password forgotten emails don't work though there are no errors shown. after trying ALL solutions that are in this thread i decided to contact my host.....and they said that they are pretty sure its a error in the osc-code, which i don't believe cause both email.php in admin and includes are untouched. if somebody could think of some new solution i' highly appreciate it. best regards Lukas
zerodash Posted November 8, 2006 Posted November 8, 2006 This issue has been affecting one of my stores as well. From what I can tell, an increasing number of ISPs filter out emails that appear to be "auto-generated". it is obviously done as a method of filtering out spam. I would imagine there is a way of altering the pasword forgotten scripts to better comply with anti-spam programs. Has anyone done this or know of any preexisting mods for this issue?
Caterpillar Posted November 28, 2006 Posted November 28, 2006 My limited understanding of the issue is that OSC (maybe) intiates the mail from the hosts mail server as anonymous@*.com or some such. ISPs try and verify that the email is real, exists, whatever and then as it isn't bounces it. Is there a way to change what OSC initiates from an email perspective?
Caterpillar Posted November 28, 2006 Posted November 28, 2006 OK Looking at password_forgotten.php I think the function for initiating the mail is tep_mail on line 29. tep_mail is defined in includes/functions/general.php and has the following parameters Parameters: // $to_name The name of the recipient, e.g. "Jan Wildeboer" // $to_email_address The eMail address of the recipient, // e.g. [email protected] // $email_subject The subject of the eMail // $email_text The text of the eMail, may contain HTML entities // $from_email_name The name of the sender, e.g. Shop Administration // $from_email_adress The eMail address of the sender, // e.g. [email protected] The $from_email_address is defined in password_forgotten.php as STORE_OWNER_EMAIL_ADDRESS line 29. And STORE_OWNER_EMAIL_ADDRESS is meant to be the store email address in Admin. Although I have this set as a valid email address. It is still getting bounced back so to do a ) Check that STORE_OWNER_EMAIL_ADDRESS is set to my email address in admin. Anyone know how I can find this out, debug, whatever? b ) Work with webhosting and determine if the data includes the email address. Any other help would be appreciated.
Caterpillar Posted December 1, 2006 Posted December 1, 2006 Well with the help of the hosting server. The problem is in the "/includes/classes/email.php" file, on line 522. The original code at line 522 is: return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); The new version reads as follows: return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers), "-f$from_addr"); This was changed and it all works now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.