使用Outlook OOM或Redemption RDO读取加密的S / Mime电子邮件

时间:2019-01-11 11:35:01

标签: c# encryption outlook outlook-redemption

这是我的尝试:

<div class="modal-body">
    <ul class="nav nav-pills" role="tablist">
        <li class="nav-item"><a class="nav-link active" data-toggle="pill" href="#EmployerLogin">Employer</a></li>
        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#seekerLogin">Candidate</a></li>
    </ul>
    <div class="tab-content">
        <div id="EmployerLogin" class="tab-pane  active">
            <form class="form-horizontal" [formGroup]="employerGroup" (ngSubmit)="employerLogin()">
                <input type="email" formControlName="elogin" name="empname" class="form-control"
                [ngClass]="{ 'is-invalid': employerSubmitted && fe.elogin.errors }" placeholder="Email">
            <div *ngIf="employerSubmitted && fe.elogin.errors" class="invalid-feedback">
                <div *ngIf="fe.elogin.errors.required"> Email is required</div>
            </div>
            <button class="btn btn-default">Login</button>
        </form>
    </div>

    <br>

    <div id="seekerLogin" class="tab-pane fade">
        <form class="form-horizontal" [formGroup]="candidateGroup" (ngSubmit)="seekerLogin()">
            <input type="text" formControlName="empEmail" name="empname"
                class="form-control" [ngClass]="{ 'is-invalid': candidateSubmitted && fc.empEmail.errors }" placeholder="Email">
            <div *ngIf="candidateSubmitted && fc.empEmail.errors" class="invalid-feedback">
                <div *ngIf="fc.empEmail.errors.required"> Email is required</div>
            </div>
            <button class="btn btn-default">Login</button>
        </form>
    </div>
</div>

我在做什么错了?

1 个答案:

答案 0 :(得分:0)

为什么您打电话给GetMessageFromID而不是将邮件投递到RDOEncryptedMessage?您确定您确实收到了来自Items.GetFirst的加密消息吗?不要期望得到在Outlook中看到的第一条消息-您不对Items集合进行排序,很有可能GetFirst将返回文件夹中最旧的消息,而不是您在Outlook资源管理器中看到的最上面的消息。 / p>