Project

General

Profile

« Previous | Next » 

Revision 344

Added by stefan about 18 years ago

Removed "From:" from calls to internal mail function. Ticket 189

View differences:

trunk/wb/admin/login/forgot/index.php
96 96
	
97 97
	If you have received this message in error, please delete it immediatly.';
98 98
				// Try sending the email
99
				if($admin->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
99
				if($admin->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
100 100
					$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET'];
101 101
					$display_form = false;
102 102
				} else {
trunk/wb/account/forgot_form.php
89 89

  
90 90
If you have received this message in error, please delete it immediatly.';
91 91
				// Try sending the email
92
				if($wb->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
92
				if($wb->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
93 93
					$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET'];
94 94
					$display_form = false;
95 95
				} else {
trunk/wb/account/signup2.php
126 126
If you have recieved this message in error, please delete it immediatly.';
127 127

  
128 128
	// Try sending the email
129
	if($wb->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
129
	if($wb->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
130 130
		$wb->print_success($MESSAGE['FORGOT_PASS']['PASSWORD_RESET'], WB_URL.'/account/login'.PAGE_EXTENSION);
131 131
		$display_form = false;
132 132
	} else {

Also available in: Unified diff