Changeset 1278 for trunk/core/lib/Foswiki/Net.pm
- Timestamp:
- 12/12/08 03:30:59 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/Net.pm (modified) (3 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
Note: See TracChangeset
for help on using the changeset viewer.
