Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2008-08-23 15:01:44

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Emailing passwords

  • Gocom’s solution uses a varying sender email address if you have multiple users in your TXP install, so you’d have to deal with SPF records for all of them.
  • The “-f” solution breaks if safe_mode is enabled
  • Neither solution works on windows servers, from what I’ve read (ini_set sendmail_from does appear to work there).

I’ll probably go for a user-changeable preference and auto-detect safe_mode and windows servers to make it work across as many systems as possible. By default this will not be enabled. The user has to fill out an email address if needed.

Offline

#26 2008-08-23 18:55:10

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Emailing passwords

Thanks Ruud. That is good to hear.

Offline

#27 2008-08-24 21:30:14

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Emailing passwords

For an alternative hack for adding the ‘-f ‘ switch to sem_contact_reborn see Igor’s post here.

Offline

#28 2008-08-26 18:24:01

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Emailing passwords

Ruud,

I checked out the latest version of 4.0.7 a few moments ago on another mission, but noted that it appeared to be now ‘-f switch’ compliant. I applied the build to a site hosted on Mosso, added an valid email name to the new Adv Preference, and it worked beautifully. Thank you very much indeed.

Offline

#29 2008-08-26 18:29:40

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Emailing passwords

Thanks for confirming that it works :)

Offline

Board footer

Powered by FluxBB