Changeset 1278
- Timestamp:
- 12/12/08 03:30:59 (3 years ago)
- Location:
- trunk/core
- Files:
-
- 2 edited
-
lib/Foswiki/Net.pm (modified) (3 diffs)
-
templates/messages.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/Net.pm
r1050 r1278 226 226 '$Rev: 13594 $' =~ /([0-9]+)/; 227 227 my $revstr = $1; 228 $request->header( 'User-Agent' => 'Foswiki::Net/' 228 $request->header( 'User-Agent' => 'Foswiki::Net/' 229 229 . $revstr 230 230 . " libwww-perl/$LWP::VERSION" ); … … 339 339 340 340 unless ( $e =~ /^ERROR/ ) { 341 $e = "Mail could not be sent - see Foswiki warning log.";341 $e = "Mail could not be sent - please ask your %WIKIWEBMASTER% to look at the Foswiki warning log."; 342 342 } 343 343 $errors .= $e . "\n"; … … 373 373 print MAIL $text; 374 374 close(MAIL); 375 die "ERROR: Exit code $? from Foswiki::cfg{MailProgram}" if $?; 375 #SMELL: this is bizzare. on a freeBSD server, I've seen sendmail return 17152 376 #(17152 >> 8) == 67 == EX_NOUSER - however, the mail log says that the error was 377 #EX_TEMPFAIL == 75, and that (as per oreilly book) the email is cued. The email 378 #does reach the user, but they are very confused because they were told that the 379 #rego failed completely. 380 #Sven has ameneded the oops_message for the verify emails to be less positive that 381 #everything has failed, but. 382 die "ERROR: Exit code ".($? << 8)." ($?) from Foswiki::cfg{MailProgram}" if $?; 376 383 } 377 384 -
trunk/core/templates/messages.tmpl
r1206 r1278 241 241 ---+++ %MAKETEXT{"Error registering new user"}% 242 242 243 %MAKETEXT{"Internal error when sending email to [_1]." args="%PARAM1%"}% 244 243 %MAKETEXT{"While attempting to email [_1]." args="%PARAM1%"}% 244 245 %MAKETEXT{"Your registration verification email has either failed, or is queued in the mail system."}% 246 247 %MAKETEXT{"If you don't receive a verification email within the next hour, "}% 245 248 %MAKETEXT{"Please contact [_1]." args="%WIKIWEBMASTER%"}% 246 249 247 %MAKETEXT{"You have *not* been registered."}% 250 248 251 %TMPL:END% 249 252 %TMPL:DEF{"send_mail_error"}% … … 410 413 %MAKETEXT{"Check your configuration settings for {TemplateDir} and {TemplatePath}. If that's not the problem, it may be because you have a setting of [_1] that is pointing to a template that doesn't exist." args="=%PARAM2%="}% 411 414 412 %MAKETEXT{"[_1] is currently set to [_2]" args="=%PARAM2%=,<code><nop>%PARAM1%</code>"}% 415 %MAKETEXT{"[_1] is currently set to [_2]" args="=%PARAM2%=,<code><nop>%PARAM1%</code>"}% 413 416 414 417 (%MAKETEXT{"don't forget to check your Topic Settings"}%)
Note: See TracChangeset
for help on using the changeset viewer.
