version 1.239.2.5, 2024/02/08 03:09:10
|
version 1.239.2.5.2.1, 2024/08/22 14:41:09
|
Line 520 sub sendnotification {
|
Line 520 sub sendnotification {
|
|
|
$text=~s/\<\;/\</gs; |
$text=~s/\<\;/\</gs; |
$text=~s/\>\;/\>/gs; |
$text=~s/\>\;/\>/gs; |
my $homeserver = &Apache::lonnet::homeserver($touname,$toudom); |
my $touhome = &Apache::lonnet::homeserver($touname,$toudom); |
my $protocol = $Apache::lonnet::protocol{$homeserver}; |
my $url = &Apache::lonnet::url_prefix('',$toudom,$touhome,'email'). |
$protocol = 'http' if ($protocol ne 'https'); |
|
my $url = $protocol.'://'.&Apache::lonnet::hostname($homeserver). |
|
'/adm/email?username='.$touname.'&domain='.$toudom. |
'/adm/email?username='.$touname.'&domain='.$toudom. |
'&display='.&escape($msgid); |
'&display='.&escape($msgid); |
my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$fromcid, |
my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$fromcid, |