Need some Guide regarding Configuration of Sender Mail Adapters....

Hellow All Members,
  Can anybody refer me to some blogs other than SAP's own help which talks about use and configuration of sender mail adapters...
Thanks in Advance,
Sugata

Hi Sugata,
These links i guess should help you understand clearly as to how to configure your sender mail adapter.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm">Configuring the Sender Mail Adapter</a>
<a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure Adapter scenarios – SAP Exchange Infrastructure</a>
<a href="/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address Adapter (XI) - how to implement dynamic mail address</a>
Also refer these links:
http://www.microsoft.com/exchange/evaluation/compare/ClientCompare.mspx
http://www.microsoft.com/exchange/evaluation/whatis.mspx
http://www.trincoll.edu/depts/cc/documentation/email/IMAP_vs_POP/default.htm
http://www.imap.org/papers/imap.vs.pop.brief.html
Also please go through these notes:
<b>804102</b>
xi 3.0 mail adapter with pop3 user authentication problem
<b>810238</b>
XI 3.0 Mail Adapter for POP3 may not report some errors
Just an additional info <b>"sender mail adapter is to convert e-mails to XI messages"</b>
Regards,
abhy

Similar Messages

  • Hi all i need some guide over here ^^

    HI,
    i doing BDCbdc for FB60 and i will need to run 1 more BDC before i PARK the doc.
    The first BDC is to set the company code to 1000
    But there is a problem if the company code in FB60 is 1000, then the BDC i run will fail.
    IF the company code in FB60 is 1234 ad i try to set it as 1000, the BDC will run success.
    therefore i think of a way, is there any way that i will able to know what is the company code in FB60 WITHOUT looking at the company code in FB60.
    Is there a method that BDC can validate the company in FB60.
    e.g
    IF (company code in FB60) = 1000.
    perform ........
    else.
    perform .......
    ENDIF.
    Points will be awared
    Thanks,
    guanwei

    hi thanks for reply,
    i know about this but what if the company have many company codes and once the BDC run.
    the BDC have to check now the FB60 is 1000 or 1234 because different company code using different vendor. this is why i need to validate now the FB60 is using 1000 or 1234.
    because there are too many company code, and if i have to set the company code in FB60 manual everytime it will become troublesome.
    In FB60 transaction the system first promt for entering the company code
    this will only happen when never use FB60 before, after you have set it to 1000, next time try to go to FB60 again it will not Promt to enter company code. it will use the last company code you have set.
    that is why i need some guide on how to know what is the company code it using now by not going into FB60 itself.
    Thanks
    guanwei

  • How do i get mirror my new iPad to a MBP 15'' retina display?? need some guide thanks..

    how do i get mirror my new ipad to MBP 15" retina display?? need some guide..
    thanks for help

    Use this app on your MBP: http://www.airsquirrels.com/reflector/

  • Regarding error for sending mail

    hello ,
    i was trying to send mail in linux. i have activated all the services such as smtp,pop3, imap and all needed services. i am also successful to set up domain in linux and able to send mail through mozaria mail box.
    but through code i face some problems. my program complies but at time of running it is giving null ptr exception.
    my domail is email.simon.com
    and also providing my code with this so if anybody has information then plz help and guid us
    my code is
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class Assimilator
         public static void main(String[] args)
              try
                        Properties props = new Properties();
                        props.put("mail.host","email.simon.com");
                        Session mailConnection = Session.getInstance(props,null);
                        Message msg = new MimeMessage(mailConnection);
                        Address from = new InternetAddress("[email protected]");
                        Address to = new InternetAddress("[email protected]");
                        msg.setContent("Hello! how are you?..........","text/plain");
                        msg.setFrom(from);
                        msg.setRecipient(Message.RecipientType.TO,to);
                        msg.setSubject("Trial");
                        Transport.send(msg);
                        System.out.println("good");
              catch(Exception e)
                   e.printStackTrace();
    waiting for replies

    Probably here:Session mailConnection = Session.getInstance(props,null);I don't see the point of passing null for the Authenticator here. If you aren't going to authenticate then use the other getInstance method:Session mailConnection = Session.getInstance(props);

  • Error during configuration of Sender Mail Adapter

    Hellow All,
    I was trying to configure Sender Mail Adapter and I am getting this error.
    <b>error occured: exception caught during processing mail message; java.io.IOException: unexpected greeting response; read 220 mailrelay2.lntinfotech.com ESMTP Service (Lotus Domino Release 6.5.5) ready at Fri, 14 Jul 2006 16:11:29 +0530</b>
    Can anybody please suggest me why this error is occured and how to solve that?
    I am waiting with points, come on
    Thanks in advance,
    Sugata

    HI,
    1)Try to do with POP3
    2)Check the URL , give correct Exchange Server Name/IP address.
    3) Hope you have access to read the inbox (sometimes it will not be there)
    Than try it.
    Regards.
    Moorthy

  • Finding all SharePoint objects (alerts, workflows, etc) configured to send mail to a specific user

    Hi all,
    I'm looking at the mail traffic originating from our SharePoint instance and noticed there are a number of "delivery has failed to these recipients or groups" for people no longer with us.
    Is there a means (powershell?) to discover the objects (alerts, workflows, etc...) in SharePoint that are sending mail to these people so they can be removed as part of old account housekeeping?
    Thanks!
    Paul

    Hi
    Please checkout below script to remove the alerts enabled for individual users.
    http://dunxd.com/2010/12/22/delete-all-alerts-for-a-user-in-sharepoint-with-this-powershell-script/
     You can verify the content of emails which will have names of users  and kind of emails , if that is aa workflow approval or simple alerts.  if its workflow alert you might need to contact the sharepoint administrator/designer who can find
    out the source of same
    regards Puran Mishra

  • Need some guide

    Hi SDN,
    I am new to adobe form.
    i have to build a complex form, a lot of dynamic operation.
    i need some suggestion from you regarding my concern.
    there is  lots of data to be loaded,
    company code, purchage org, payment term, commodity code......
    where can i put those data in form ? what the format shoudl be as I need to write a lot of script to manipulate these data to update the dropdown in the form.
    any input is appreciated.
    thanks
    John

    Hi,
    May be you can look into
    http://help.sap.com/SAPHELP_NW04s/helpdata/EN/32/ca700810b44b3bb24dd4818a18e6e6/content.htm
    I hope this may be useful for you.
    Thanks,
    Chandra

  • Need Help on powershell Script to send mails in different languages

    Hello, Just wanted to use the script below to remind users of password expiry date (I got it from internet New-Passwordreminder.ps1). We have companies in many countries, so the email should be in the language of that country. So since our users are in different
    OU's according to countries, I thought some one could help me edit this script and say if the user is in AB ou then email in english will be sent, if in BC ou then the email will be in Russian....So in the script I will have all the languages I need
    to have written.
    <#
    .SYNOPSIS
      Notifies users that their password is about to expire.
    .DESCRIPTION
        Let's users know their password will soon expire. Details the steps needed to change their password, and advises on what the password policy requires. Accounts for both standard Default Domain Policy based password policy and the fine grain
    password policy available in 2008 domains.
    .NOTES
        Version            : v2.6 - See changelog at
    http://www.ehloworld.com/596
        Wish list      : Better detection of Exchange server
                  : Set $DaysToWarn automatically based on Default Domain GPO setting
                  : Description for scheduled task
                  : Verify it's running on R2, as apparently only R2 has the AD commands?
                  : Determine password policy settings for FGPP users
                  : better logging
        Rights Required   : local admin on server it's running on
        Sched Task Req'd  : Yes - install mode will automatically create scheduled task
        Lync Version    : N/A
        Exchange Version  : 2007 or later
        Author           : M. Ali (original AD query), Pat Richard, Exchange MVP
        Email/Blog/Twitter :
    [email protected]  http://www.ehloworld.com @patrichard
        Dedicated Post   :
    http://www.ehloworld.com/318
        Disclaimer       : You running this script means you won't blame me if this breaks your stuff.
        Info Stolen from   : (original)
    http://blogs.msdn.com/b/adpowershell/archive/2010/02/26/find-out-when-your-password-expires.aspx
                  : (date)
    http://technet.microsoft.com/en-us/library/ff730960.aspx
                : (calculating time)
    http://blogs.msdn.com/b/powershell/archive/2007/02/24/time-till-we-land.aspx
    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/23fc5ffb-7cff-4c09-bf3e-2f94e2061f29/
    http://blogs.msdn.com/b/adpowershell/archive/2010/02/26/find-out-when-your-password-expires.aspx
                : (password decryption)
    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/f90bed75-475e-4f5f-94eb-60197efda6c6/
                : (determine per user fine grained password settings)
    http://technet.microsoft.com/en-us/library/ee617255.aspx
    .LINK    
        http://www.ehloworld.com/318
    .INPUTS
      None. You cannot pipe objects to this script
    .PARAMETER Demo
      Runs the script in demo mode. No emails are sent to the user(s), and onscreen output includes those who are expiring soon.
    .PARAMETER Preview
      Sends a sample email to the user specified. Usefull for testing how the reminder email looks.
    .PARAMETER PreviewUser
      User name of user to send the preview email message to.
    .PARAMETER Install
      Create the scheduled task to run the script daily. It does NOT create the required Exchange receive connector.
    .EXAMPLE
      .\New-PasswordReminder.ps1
      Description
      Searches Active Directory for users who have passwords expiring soon, and emails them a reminder with instructions on how to change their password.
    .EXAMPLE
      .\New-PasswordReminder.ps1 -demo
      Description
      Searches Active Directory for users who have passwords expiring soon, and lists those users on the screen, along with days till expiration and policy setting
    .EXAMPLE
      .\New-PasswordReminder.ps1 -Preview -PreviewUser [username]
      Description
      Sends the HTML formatted email of the user specified via -PreviewUser. This is used to see what the HTML email will look like to the users.
    .EXAMPLE
      .\New-PasswordReminder.ps1 -install
      Description
      Creates the scheduled task for the script to run everyday at 6am. It will prompt for the password for the currently logged on user. It does NOT create the required Exchange receive connector.
    #>
    #Requires -Version 2.0
    [cmdletBinding(SupportsShouldProcess = $true)]
    param(
     [parameter(ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
     [switch]$Demo,
     [parameter(ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
     [switch]$Preview,
     [parameter(ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
     [switch]$Install,
     [parameter(ValueFromPipeline = $false, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
     [string]$PreviewUser
    Write-Verbose "Setting variables"
    [string]$Company = "Contoso Ltd"
    [string]$OwaUrl = "https://mail.contoso.com"
    [string]$PSEmailServer = "10.9.0.11"
    [string]$EmailFrom = "Help Desk <[email protected]>"
    [string]$HelpDeskPhone = "(586) 555-1010"
    [string]$HelpDeskURL = "https://intranet.contoso.com/"
    [string]$TranscriptFilename = $MyInvocation.MyCommand.Name + " " + $env:ComputerName + " {0:yyyy-MM-dd hh-mmtt}.log" -f (Get-Date)
    [int]$global:UsersNotified = 0
    [int]$DaysToWarn = 14
    [string]$ImagePath = "http://www.contoso.com/images/new-passwordreminder.ps1"
    [string]$ScriptName = $MyInvocation.MyCommand.Name
    [string]$ScriptPathAndName = $MyInvocation.MyCommand.Definition
    [string]$ou
    [string]$DateFormat = "d"
    if ($PreviewUser){
     $Preview = $true
    Write-Verbose "Defining functions"
    function Set-ModuleStatus {
     [cmdletBinding(SupportsShouldProcess = $true)]
     param (
      [parameter(ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $true, HelpMessage = "No module name specified!")]
      [string]$name
     if(!(Get-Module -name "$name")) {
      if(Get-Module -ListAvailable | ? {$_.name -eq "$name"}) {
       Import-Module -Name "$name"
       # module was imported
       return $true
      } else {
       # module was not available (Windows feature isn't installed)
       return $false
     }else {
      # module was already imported
      return $true
    } # end function Set-ModuleStatus
    function Remove-ScriptVariables { 
     [cmdletBinding(SupportsShouldProcess = $true)]
     param($path)
     $result = Get-Content $path | 
     ForEach { if ( $_ -match '(\$.*?)\s*=') {     
       $matches[1]  | ? { $_ -notlike '*.*' -and $_ -notmatch 'result' -and $_ -notmatch 'env:'} 
     ForEach ($v in ($result | Sort-Object | Get-Unique)){  
      Remove-Variable ($v.replace("$","")) -ErrorAction SilentlyContinue
    } # end function Get-ScriptVariables
    function Install {
     [cmdletBinding(SupportsShouldProcess = $true)]
     param()
    http://technet.microsoft.com/en-us/library/cc725744(WS.10).aspx
     $error.clear()
     Write-Host "Creating scheduled task `"$ScriptName`"..."
     $TaskPassword = Read-Host "Please enter the password for $env:UserDomain\$env:UserName" -AsSecureString
     $TaskPassword = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto([System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($TaskPassword))
     # need to fix the issue with spaces in the path
     schtasks /create /tn $ScriptName /tr "$env:windir\system32\windowspowershell\v1.0\powershell.exe -psconsolefile '$env:ExchangeInstallPath\Bin\exshell.psc1' -command $ScriptPathAndName" /sc Daily /st 06:00 /ru $env:UserDomain\$env:UserName /rp
    $TaskPassword | Out-Null
     if (!($error)){
      Write-Host "done!" -ForegroundColor green
     }else{
      Write-Host "failed!" -ForegroundColor red
     exit
    } # end function Install
    function Get-ADUserPasswordExpirationDate {
     [cmdletBinding(SupportsShouldProcess = $true)]
     Param (
      [Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true, HelpMessage = "Identity of the Account")]
      [Object]$accountIdentity
     PROCESS {
      Write-Verbose "Getting the user info for $accountIdentity"
      $accountObj = Get-ADUser $accountIdentity -properties PasswordExpired, PasswordNeverExpires, PasswordLastSet, name, mail
      # Make sure the password is not expired, and the account is not set to never expire
        Write-Verbose "verifying that the password is not expired, and the user is not set to PasswordNeverExpires"
        if (((!($accountObj.PasswordExpired)) -and (!($accountObj.PasswordNeverExpires))) -or ($PreviewUser)) {
         Write-Verbose "Verifying if the date the password was last set is available"
         $passwordSetDate = $accountObj.PasswordLastSet      
          if ($passwordSetDate -ne $null) {
           $maxPasswordAgeTimeSpan = $null
            # see if we're at Windows2008 domain functional level, which supports granular password policies
            Write-Verbose "Determining domain functional level"
            if ($global:dfl -ge 4) { # 2008 Domain functional level
              $accountFGPP = Get-ADUserResultantPasswordPolicy $accountObj
              if ($accountFGPP -ne $null) {
               $maxPasswordAgeTimeSpan = $accountFGPP.MaxPasswordAge
         } else {
          $maxPasswordAgeTimeSpan = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge
        } else { # 2003 or ealier Domain Functional Level
         $maxPasswordAgeTimeSpan = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge
        if ($maxPasswordAgeTimeSpan -eq $null -or $maxPasswordAgeTimeSpan.TotalMilliseconds -ne 0) {
         $DaysTillExpire = [math]::round(((New-TimeSpan -Start (Get-Date) -End ($passwordSetDate + $maxPasswordAgeTimeSpan)).TotalDays),0)
         if ($preview){$DaysTillExpire = 1}
         if ($DaysTillExpire -le $DaysToWarn){
          Write-Verbose "User should receive email"
          $PolicyDays = [math]::round((($maxPasswordAgeTimeSpan).TotalDays),0)
          if ($demo) {Write-Host ("{0,-25}{1,-8}{2,-12}" -f $accountObj.Name, $DaysTillExpire, $PolicyDays)}
                # start assembling email to user here
          $EmailName = $accountObj.Name      
          $DateofExpiration = (Get-Date).AddDays($DaysTillExpire)
          $DateofExpiration = (Get-Date($DateofExpiration) -f $DateFormat)      
    Write-Verbose "Assembling email message"      
    [string]$emailbody = @"
    <html>
     <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     </head>
    <body>
     <table id="email" border="0" cellspacing="0" cellpadding="0" width="655" align="center">
      <tr>
       <td align="left" valign="top"><img src="$ImagePath/spacer.gif" alt="Description: $ImagePath/spacer.gif" width="46" height="28" align="absMiddle">
    if ($HelpDeskURL){     
    $emailbody += @" 
       <font style="font-size: 10px; color: #000000; line-height: 16px; font-family: Verdana, Arial, Helvetica, sans-serif">If this e-mail does not appear properly, please <a href="$HelpDeskURL" style="font-weight:
    bold; font-size: 10px; color: #cc0000; font-family: verdana, arial, helvetica, sans-serif; text-decoration: underline">click here</a>.</font>
    $emailbody += @"   
       </td>
      </tr>
      <tr>
    if ($HelpDeskURL){  
    $emailbody += @"
       <td height="121" align="left" valign="bottom"><a href="$HelpDeskURL"><img src="$ImagePath/header.gif" border="0" alt="Description: $ImagePath/header.gif"
    width="655" height="121"></a></td>
    }else{
    $emailbody += @" 
       <td height="121" align="left" valign="bottom"><img src="$ImagePath/header.gif" border="0" alt="Description: $ImagePath/header.gif" width="655" height="121"></td>
    $emailbody += @"
      </tr>
      <tr>
       <td>
        <table id="body" border="0" cellspacing="0" cellpadding="0">
         <tr>
          <td width="1" align="left" valign="top" bgcolor="#a8a9ad"><img src="$ImagePath/spacer50.gif" alt="Description: $ImagePath/spacer50.gif" width="1"
    height="50"></td>
          <td><img src="$ImagePath/spacer.gif" alt="Description: $ImagePath/spacer.gif" width="46" height="106"></td>
          <td id="text" width="572" align="left" valign="top" style="font-size: 12px; color: #000000; line-height: 17px; font-family: Verdana, Arial, Helvetica, sans-serif">
    if ($DaysTillExpire -le 1){
     $emailbody += @"
      <div align='center'>
       <table border='0' cellspacing='0' cellpadding='0' style='width:510px; background-color: white; border: 0px;'>
        <tr>
         <td align='right'><img width='36' height='28' src='$ImagePath/image001b.gif' alt='Description: $ImagePath/image001b.gif'></td> 
         <td style="font-family: verdana; background: #E12C10; text-align: center; padding: 0px; font-size: 9.0pt; color: white">ALERT: You must change your password today or you will be locked out!</td>  
         <td align='left'><img border='0' width='14' height='28' src='$ImagePath/image005b.gif' alt='Description: $ImagePath/image005b.gif'></td>
        </tr>
       </table>
      </div>
    $emailbody += @"
       <p style="font-weight: bold">Hello, $EmailName,</p>
       <p>It's change time again! Your $company password expires in <span style="background-color: red; color: white; font-weight: bold;">&nbsp;$DaysTillExpire&nbsp;</span> day(s), on $DateofExpiration.</p>
       <p>Please use one of the methods below to update your password:</p>
       <ol>
        <li>$company office computers and Terminal Server users: You may update your password on your computer by pressing Ctrl-Alt-Delete and selecting 'Change Password' from the available options. If you use a $company laptop in addition
    to a desktop PC, be sure and read #3 below.</li>
        <li>Remote Outlook Client, Mac, and/or Outlook Web App users: If you only access our email system, please use the following method to easily change your password:</li>
        <ul>
         <li>Log into <a href="$owaurl">Outlook Web App</a> using Internet Explorer (PC) or Safari or Firefox (Mac).</li>
         <li>Click on the Options button in the upper right corner of the page.</li>  
         <li>Select the &quot;Change Password&quot; link to change your password.</li>
         <li>Enter your current password, then your new password twice, and click Save</li>
         <li><span style="font-weight: bold">NOTE:</span> You will now need to use your new password when logging into Outlook Web App, Outlook 2010, SharePoint, Windows Mobile (ActiveSync) devices, etc. Blackberry
    Enterprise Users (BES) will not need to update their password. Blackberry Internet Service (BIS) users will be required to use their new password on their device.</li>
        </ul>
        <li>$company issued laptops: If you have been issued a $company laptop, you must be in a corporate office and directly connected to the company network to change your password. If you also use a desktop PC in the office, you must
    remember to always update your domain password on the laptop first. Your desktop will automatically use the new password.</li>
        <ul>
         <li>Log in on laptop</li>
         <li>Press Ctrl-Alt-Delete and select 'Change Password' from the available options.</li>
         <li>Make sure your workstation (if you have one) has been logged off any previous sessions so as to not cause conflict with your new password.</li>
        </ul>
       </ol>
       <p>Think you've got a complex password? Run it through the <a href="The">http://www.passwordmeter.com/">The Password Meter</a></p>
       <p>Think your password couldn't easily be hacked? See how long it would take: <a href="How">http://howsecureismypassword.net/">How Secure Is My Password</a></p>
       <p>Remember, if you do not change your password before it expires on $DateofExpiration, you will be locked out of all $company Computer Systems until an Administrator unlocks your account.</p>
       <p>If you are traveling or will not be able to bring your laptop into the office before your password expires, please call the number below for additional instructions.</p>
       <p>You will continue to receive these emails daily until the password is changed or expires.</p>
       <p>Thank you,<br />
       The $company Help Desk<br />
       $HelpDeskPhone</p>
    if ($accountFGPP -eq $null){
     $emailbody += @"
       <table style="background-color: #dedede; border: 1px solid black">
        <tr>
         <td style="font-size: 12px; color: #000000; line-height: 17px; font-family: Verdana, Arial, Helvetica, sans-serif"><b>$company Password Policy</b>
          <ul>
           <li>Your password must have a minimum of a $MinPasswordLength characters.</li>
           <li>You may not use a previous password.</li>
           <li>Your password must not contain parts of your first, last, or logon name.</li>
           <li>Your password must be changed every $PolicyDays days.</li>
    if ($PasswordComplexity){
     Write-Verbose "Password complexity"
     $emailbody += @"
           <li>Your password requires a minimum of two of the following three categories:</li>
           <ul>
            <li>1 upper case character (A-Z)</li>
            <li>1 lower case character (a-z)</li>
            <li>1 numeric character (0-9)</li>        
           </ul>
    $emailbody += @"
           <li>You may not reuse any of your last $PasswordHistory passwords</li>
          </ul>
         </td>
        </tr>
       </table>
    $emailbody += @"        
           </td>
           <td width="49" align="left" valign="top"><img src="$ImagePath/spacer50.gif" alt="" width="49" height="50"></td>
           <td width="1" align="left" valign="top" bgcolor="#a8a9ad"><img src="$ImagePath/spacer50.gif" alt="Description: $ImagePath/spacer50.gif" width="1"
    height="50"></td>
          </tr>
         </table>
         <table id="footer" border="0" cellspacing="0" cellpadding="0" width="655">
          <tr>
           <td><img src="$ImagePath/footer.gif" alt="Description: $ImagePath/footer.gif" width="655" height="81"></td>
          </tr>
         </table>
         <table border="0" cellspacing="0" cellpadding="0" width="655" align="center">
          <tr>
           <td align="left" valign="top"><img src="$ImagePath/spacer.gif" alt="Description: $ImagePath/spacer.gif" width="36" height="1"></td>
           <td align="middle" valign="top"><font face="Verdana" size="1" color="#000000"><p>This email was sent by an automated process.
    if ($HelpDeskURL){
    $emailbody += @"               
           If you would like to comment on it, please visit <a href="$HelpDeskURL"><font color="#ff0000"><u>click here</u></font></a>
    $emailbody += @"               
            </p><p style="color: #009900;"><font face="Webdings" size="4">P</font> Please consider the environment before printing this email.</p></font>
           </td>
           <td align="left" valign="top"><img src="$ImagePath/spacer.gif" alt="Description: $ImagePath/spacer.gif" width="36" height="1"></td>
          </tr>
         </table>
        </td>
       </tr>
      </table>
     </body>
    </html>
          if (!($demo)){
           $emailto = $accountObj.mail
           if ($emailto){
            Write-Verbose "Sending demo message to $emailto"
            Send-MailMessage -To $emailto -Subject "Your password expires in $DaysTillExpire day(s)" -Body $emailbody -From $EmailFrom -Priority High -BodyAsHtml
            $global:UsersNotified++
           }else{
            Write-Verbose "Can not email this user. Email address is blank"
    } # end function Get-ADUserPasswordExpirationDate
    if ($install){
     Write-Verbose "Install mode"
     Install
    Write-Verbose "Checking for ActiveDirectory module"
    if ((Set-ModuleStatus ActiveDirectory) -eq $false){
     $error.clear()
     Write-Host "Installing the Active Directory module..." -ForegroundColor yellow
     Set-ModuleStatus ServerManager
     Add-WindowsFeature RSAT-AD-PowerShell
     if ($error){
      Write-Host "Active Directory module could not be installed. Exiting..." -ForegroundColor red;
      if ($transcript){Stop-Transcript}
      exit
    Write-Verbose "Getting Domain functional level"
    $global:dfl = (Get-AdDomain).DomainMode
    # Get-ADUser -filter * -properties PasswordLastSet,EmailAddress,GivenName -SearchBase "OU=Users,DC=domain,DC=test" |foreach {
    if (!($PreviewUser)){
     if ($ou){
      Write-Verbose "Filtering users to $ou"
      $users = Get-AdUser -filter * -SearchScope subtree -SearchBase $ou -ResultSetSize $null
     }else{
      $users = Get-AdUser -filter * -ResultSetSize $null
    }else{
     Write-Verbose "Preview mode"
     $users = Get-AdUser $PreviewUser
    if ($demo){
     Write-Verbose "Demo mode"
     # $WhatIfPreference = $true
     Write-Host "`n"
     Write-Host ("{0,-25}{1,-8}{2,-12}" -f "User", "Expires", "Policy") -ForegroundColor cyan
     Write-Host ("{0,-25}{1,-8}{2,-12}" -f "========================", "=======", "===========") -ForegroundColor cyan
    Write-Verbose "Setting event log configuration"
    $evt = new-object System.Diagnostics.EventLog("Application")
    $evt.Source = $ScriptName
    $infoevent = [System.Diagnostics.EventLogEntryType]::Information
    $EventLogText = "Beginning processing"
    $evt.WriteEntry($EventLogText,$infoevent,70)
    Write-Verbose "Getting password policy configuration"
    $DefaultDomainPasswordPolicy = Get-ADDefaultDomainPasswordPolicy
    [int]$MinPasswordLength = $DefaultDomainPasswordPolicy.MinPasswordLength
    # this needs to look for FGPP, and then default to this if it doesn't exist
    [bool]$PasswordComplexity = $DefaultDomainPasswordPolicy.ComplexityEnabled
    [int]$PasswordHistory = $DefaultDomainPasswordPolicy.PasswordHistoryCount
    ForEach ($user in $users){
     Get-ADUserPasswordExpirationDate $user.samaccountname
    Write-Verbose "Writing summary event log entry"
    $EventLogText = "Finished processing $global:UsersNotified account(s). `n`nFor more information about this script, run Get-Help .\$ScriptName. See the blog post at
    http://www.ehloworld.com/318."
    $evt.WriteEntry($EventLogText,$infoevent,70)
    # $WhatIfPreference = $false
    # Remove-ScriptVariables -path $MyInvocation.MyCommand.Name
    Remove-ScriptVariables -path $ScriptPathAndName

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • Step by step guide to configure 10.8 mail server

    Looking for a decent guide to walk me through configuring the mail server, testing the configuration, etc. plus the obvious DNS and other configuration necessary to make it work and access it from the outside world.
    Any suggestions?

    Nobody is an idiot, period. You can ask all you want here
    Internet Mail
    In order to run your own domestic mail server with an address of [email protected] you first need to register domain.com at a registrar. I use GoDaddy and Name.com, but please look around to find a registrar to fit your needs and budget - it usually is about $10,- a year.
    Second you need to set up the DNS at your registrar in the sense that you tell their system to make an A-record for the name server.example.com pointing to the public IP of your modem.
    Third you need to set up an MX record with a preference of - say - 10 and the host would be the A-record you've just created. Please follow the instructions of the registrar you choose, the'll have a manual or you can contact their customer support.
    Fouth you need the set up port forwarding within your the device that gets the public ip (usually your modem) for ports 25 (TCP), 587 (TCP) to forward the ports to the internal ip address of your server.
    You can usually consult the manual of your modem's manufacteren online.
    Background information
    DNS
    Domain Naming System is a way of exchanging a name like apple.com for an ip address like
    17.149.160.49. It's like one big conversion table, which you need because computers don't know what to do with domain names except forward the request you put in to a DNS Server that you have to specify somewhere, a popular one is Google's (8.8.8.8 and 8.8.4.4) which you are free to use. You don't really *need* a local DNS server.
    Private IPs
    The ip's of 192.168.*.*, 172.16.*.* and 10.0.*.* are typical Local Area Network addresses.
    This is all within your house or building.
    Public IPs
    Your modem is assigned the public IP address normally, unless you set up your modem in bridge mode, in which case the router would need to handle authentication (PPPoE).

  • Need some help regarding validation of input in a text field

    Hello everyone,
    i am new to all this website designing stuff and is working on my first website (treausre hunt types) and expecting some guidance over here.   :-)
    I have successfully managed to validate the login page using server behaviour.
    Let me explain what i need guidance with.
    After login , the user is redirected to a page where a question is asked and he has to type the answer in the given text field and click on the submit button. Now i want to validate the given answer with the correct one and if it is answered correctly then the user is redirected to the next page.
    the question is what and how am i supposed to do this?  i am using adobe dreamweaver cc and wampserver as localhost.

    This becomes complicated to do it the way you want BUT YOU CAN do it - you just need to be a bit more efficient and get a template together.
    Copy the 4 documents below and paste into seperate DW files to see how this works then look at the code and see if a pattern becomes noticeable to you. What we are doing is adding 1 to each level and checking the user has accumulated a score to that level - if not they are bumped down to the level which they have reached or in the case of not reaching any level to question 1.
    question_1.php:
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == "Green" || $answer == "green")) {
    $_SESSION['question'] = 2;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_2.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 1.</h3>
    <h2>What color is grass?</h2>
    <form id="quiz" action="question_1.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>
    question_2.php
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    // This sends the user to question 1 if SESSION question has not been set
    if(!isset($_SESSION['question'])) {
    header('Location: question_1.php');
    // This sends the user back if SESSION question is LESS than 2
    if($_SESSION['question'] < 2) {
    header('Location: question_1.php');
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == "Blue" || $answer == "blue")) {
        $_SESSION['question'] = $_SESSION['question']+1;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_3.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 2.</h3>
    <h2>What color is the sky?</h2>
    <form id="quiz" action="question_2.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>
    question_3.php
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    // This sends the user to question 1 if SESSION question has not been set
    if(!isset($_SESSION['question'])) {
    header('Location: question_1.php');
    // This sends the user back if SESSION question is LESS than 3
    if($_SESSION['question'] < 3) {
    header('Location: question_2.php');
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == "Yellow" || $answer == "yellow")) {
        $_SESSION['question'] = $_SESSION['question']+1;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_4.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 3.</h3>
    <h2>What color is the sun?</h2>
    <form id="quiz" action="question_3.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>
    question_4.php
    <?php
    // Start the session
    session_start();
    ?>
    <?php
    // This sends the user to question 1 if SESSION question has not been set
    if(!isset($_SESSION['question'])) {
    header('Location: question_1.php');
    // This sends the user back if SESSION question is LESS than 4
    if($_SESSION['question'] < 4) {
    header('Location: question_3.php');
    if (isset($_POST['submit'])) {
    $answer = trim($_POST['answer']);
    if(($answer == 4 || $answer == 4)) {
    $_SESSION['question'] = $_SESSION['question']+1;
    $correct = "<p>Correct Answer</p><p>You will automatically be taken to the next level</p>";
    header( "refresh: 5; url=question_5.php" );
    else {
    $wrong = "<p>Wrong, please try again,</p>";
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Quiz</title>
    <style>
    p {
    font-size: 20px;
    color:#930;
    margin: 0;
    padding: 10px 0 8px 0;
    </style>
    </head>
    <body>
    <h3>Question 4.</h3>
    <h2>What  is 2 + 2?</h2>
    <form id="quiz" action="question_4.php" method="post">
    <label for="answer">Answer<br>
    <input type="text" name="answer" id="answer"></input>
    <input type="submit" name="submit" value="Sumbit">
    </label>
    </form>
    <?php
    if(isset($wrong)) {
        echo $wrong;
    elseif(isset($correct)) {
    echo $correct;
    ?>
    </body>
    </html>

  • Configuration to send mail from SAP R/3 to SMTP ; Pls help

    Hi All,
                Could any one please send me the steps to configure the MAIL setup in SAP R/3 to SMTP (Third Party).
    Thanks in Advance,
    Sunil
    [email protected]

    HI Suni,
    Please follow the link below very helpful...
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=email&cat=sdn_media
    1. tcode SCOT
    2. double click SMTP>> check mark "Node in use" >> Mail Host : "mail.yourdomain.com">> click "internet set"  if you want all email in/out, add * under address area. save/green check mark.
    3. go back to SCOT >> Settings >> Default Domain,: it should be "yourdomain.com" >> SAVE.
    4. View >> Jobs: Click Create button >> name it 'SENDMAIL'. green check marK >> click preodic, run every 5 min or 3 minz depending on your situation or load.
    That's it. very simple.
    Thanks,

  • I need some help Regarding Cumulative totals

    Hi ,
    i have a requirement
    1) we have columns calender Periods and actual to date. The requirement is we need cumulate the actual to date. i have applyed RSUM function in column formula.
    2) it is working fine. But again the requirement is this cumulative solution is changed based on selected calender periods. but this is not expected.
    3) ex:-
    calender period actual Units Cumulative Units
    oct - 2010 10 10
    Nov-2010 9 19
    Dec-2010 15 34
    Jan-2011 25 59
    Feb-2011 12 71
    March-2011 19 90
    April - 2011 13 103
    May - 2011 18 121
    June - 2011 24 145
    this is the reqiurement but i have a Prompt Like
    i hve selected resource categery some xyz and stert period is Jan -2011 and end period is May - 2011
    the values disply's like bellow
    Resource Category start Period End Period
    xyz Jan - 2011 May - 2011
    Jan-2011 25 25
    Feb-2011 12 37
    March-2011 19 58
    April - 2011 13 71
    May - 2011 18 89
    But this is not actual cumulative units the actual value for Jan 2011 cumulative value is 59 not 25
    can any one help me regarding this issue
    regards,
    ramesh

    Hi,
    Refer this link abt iview properties & set authorization ...
    http://help.sap.com/saphelp_nw04/helpdata/en/13/81a66d100011d7b84b00047582c9f7/frameset.htm
    Color- you have to change portal theme...
    Width- create a new Loyout..
    Regards,
    Senthil K.

  • Need some info regarding BWA1 transaction in CRM

    Hi,
      I am trying to understand few things for the BWA1 transaction. Looks like we need to explore the BWA1 transaction for data source enhancement before trying the classical Data source enhancement method (Append structure in the Data source ) in RSA6.
    1> The Data source fields visible in transaction RSA6 is stored in TABLE ROOSFIELD.
    2> In BWA1 transaction the visible field (in the 'extract structure’ tab in the Field 'selection <> 'A' ) matches with the Data source fields in RSA6
       However the entry in the 'Mapping' tabs in Transaction BWA1 is stored in table SMOXRELP.
    3> All the fields from the “Extraction Structure’ TAB rightly belong to the extraction structure maintained in the ‘Metadata’ tab.
    After that I seem to loose my way.
    For example take the example of data source 0CRM_SALES_ORDER_I, the above two assumptions are correct.
    But when I look at the extraction structure (CRMT_BW_SALES_ORDER_I) AND the segments in the Mapping tabs (ORDERADM_H, ORDERADM_I etc)
    I don’t seem to relate them, I know there these comes from the BDOC BUS_TRANSACTION_MESSAGE (as mentioned in the ‘Metadata’ Tab in BWA1) but don’t really understand the correlation.
    Also please note that I am not able to change the value for ‘Selection’ field in the ‘Extract Structure’ tab.  I that case, how can I really enable some field which are by default hidden from the BW data source? Also how can I extend the whole thing to take into some custom fields as well that I have created for the Sales Transaction as well.
    Thanks
    AGN

    hi Arun,
    take a look oss note 692195, steps if you add new fields.
    try to read bw350 course material, there is one chapter talk crm extraction, explain bw adapter, bdoc, etc.
    and perhaps check bi best practice
    http://help.sap.com/bp_biv235/BI_EN/index.htm
    ->customer relationship management
    692195 - FAQ: Sales Analytics and CRM-BW data Extraction
    Question 4: How can I extract the fields, which are not provided in the standard  data source extraction .
    Suggestion 4: Follow the steps mentioned below.
    1. Enhance Extract Structure with the required fields. (Create & include
       an append structure to the extract structure via transaction RSA6).
    2.a) Release the fields of the append  for usage. (  To do this, double
       click on the Datasource and remove the flags in the column 'Hide
       Field' for all fields of Append. )
    2.b)If the new fields cannot be seen in the extract structure of
        the transaction BWA1 then change and save the datasource, and then
        activate it in RSA6.
    3. Define your mappings in BADI (CRM_BWA_MFLOW) to fill these fields.
    Goto SPRO .
    Follow the path ->
    SAP Implementation guide ->Implementation with other mySAP components ->
    Data transfer to the Business Information Warehouse->
    Settings for the application specific datasources (CRM)->
    Settings for BW adapter->
    Badi :BW adapter :Enhancement of datasources in messaging flow.
    4. Replicate the new Datasource to BW.
    5. Expand the Communication Structure in BW.
    6. Maintain transfer Rules for the new Datasource.
    7. Activate the trasfer rules and perform the upload.

  • At some places I can't send mail

    In most places I go to with WiFi I can send and receive mail.  When I go to a few other places it will not let me send emails but I can receive them.  Why is this

    Did you set up your SPF record in your DNS? If not you can find more info about that here
    http://www.openspf.org/
    Something like this is what you'll probably need
    "v=spf1 a mx"
    Good luck

  • HT3748 for some reason i can not send mail only receive it on hotmail

    For some unknown reason i can only recieve mail and not send it on hotmail, it has worked perfectly before.

    my servers are offline
    Orange has a Problem, not you.
    Mail >Window > Connection Doctor ...
    ... it will probably show that your email sender and email receiver are both unreachable. If it ever worked before, this is probably not YOUR problem.
    Try their WebMail (Use a Web Browser to surf to their Web address and try to pick up your mail from there.)
    At this writing, EarthLink in the US is down for a large group of Users in New York and New England area.

Maybe you are looking for

  • Media Encoder CC Has Disappeared and Can't Be found!

    My Media Encoder CC is gone and won't return.  I tried uninstalling After Effects and Premiere Pro, then reinstalling on the assumption it was part of one of thsoe two packages, but alas ... still no Media Encoder.  What do I do?

  • Is this the worst blackberry​?

    I have had my z10 for 2 weeks now, and I really wanted to like it, but I agree with a lot of the posts here. It has been rushed to market, with way too many unresolved issues. Battery life of 8 hours, poor auto- rotate, poor cell signal..............

  • ***********Itunes= Fatal error!!!*************

    i recently bought a Aspire 5515 (WOOPS!) which apparently are total garbage and im unable to install most things like virus scans, but that is beside the point. Itunes is the most frustrating for me because i just bought an iphone. What occurs is whe

  • Coding in an infoset created by transaction SQ02

    Hello Folks, I have an adhoc query created using SQ01 and SQ02 based on feild ATINN between tables AUSP and CABN. The user now requires to display 'Characteristic Description' too. I have added CAWN and CAWNT required for this change (feild ATWTB is

  • Problem closing popup window in flash player 10.0.32.18

    Hello, I'm new to the forum so please bear with me. I posted this in the actual "Flash" forum yesterday but I realized afterward that the ActionScript forum would be a better place to post the question (sorry about that). I'm a web designer but I don