Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99427696
PonderQuestionReplyHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 24, 11:42
Size
903 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 11:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23798376
Attached To
rPH Phabricator
PonderQuestionReplyHandler.php
View Options
<?php
final
class
PonderQuestionReplyHandler
extends
PhabricatorMailReplyHandler
{
public
function
validateMailReceiver
(
$mail_receiver
)
{
if
(!(
$mail_receiver
instanceof
PonderQuestion
))
{
throw
new
Exception
(
"Mail receiver is not a PonderQuestion!"
);
}
}
public
function
getPrivateReplyHandlerEmailAddress
(
PhabricatorObjectHandle
$handle
)
{
return
$this
->
getDefaultPrivateReplyHandlerEmailAddress
(
$handle
,
'Q'
);
}
public
function
getPublicReplyHandlerEmailAddress
()
{
return
$this
->
getDefaultPublicReplyHandlerEmailAddress
(
'Q'
);
}
public
function
getReplyHandlerDomain
()
{
return
PhabricatorEnv
::
getEnvConfig
(
'metamta.maniphest.reply-handler-domain'
);
}
public
function
getReplyHandlerInstructions
()
{
return
null
;
}
protected
function
receiveEmail
(
PhabricatorMetaMTAReceivedMail
$mail
)
{
// ignore this entirely for now
}
}
Event Timeline
Log In to Comment