Find server calendar, e-mail address of directory domain users

I'm trying to automate an action to run on our OS X Server machine to e-mail each user his or her daily schedule. My current plan is to have each user delegate access to his or her calendar to one account, log the server into this account, and write an Automator action to which I manually add each user's calendar name and e-mail address. (Automator makes this process much easier than using Applescript or bash or whatever, as I don't have to deal with parsing the iCal files myself)
However, it would be much easier if I could just tell it to iterate through all of the users in the directory domain, log in as each of them in turn, and have each e-mail the calendar to himself or herself, or something like that. My guess is that it is not possible to script something like 'log in', or that if it were possible, the user variable 'home e-mail address' would still apply to the root user, not the user as whom it was told to log in. However, I can't figure any other way to get a list of calendars and their associated e-mail addresses.
I'll probably have to go the route of manually entering each person's info, but if anyone can think of a better idea, please let me know!
Greg

On OS X server all the calendar users are listed in the directory, so you just have to search that looking for user with the appropriate ServicesLocator attribute value. Doing that will all you to get the record name, email address and GUID of calendar users. For each of those you then ned to do a lot of work to get their calendar data for the day. That is not trivial to do.
I suggest you right up a feature request to have an option for the server to automatically do this.

Similar Messages

  • How to use different mail address in "from" and "user" property?

    I'd like to use the user enter mail address as the "from" property and use my mail account to send it, but I got error: com.sun.mail.smtp.SMTPSendFailedException: 553 You are not authorized to send mail, authentication is required when set different mail address in "from" and "user" property, how to resolve this problem?

    Basically that's a bad idea. Suppose you used your server to send messages that claimed to come from "[email protected]"? Naturally enough people have tried that, either as a joke or as an attempt at fraud, so that servers will check to see if the message is coming from the server it claims to be coming from. And if it isn't -- as in that example -- it will consider it a forgery. Best case (for you) is that the server will flag it as spam or junk. Worst case is that your server will be blacklisted and other servers will ignore it.

  • How to install Small Business Server 2008 in an existing Active Directory domain

    It is shown on this page:
    http://support.microsoft.com/kb/884453, "How to install Small Business Server 2003 in an existing Active Directory domain".
    Is it possible to do this with SBS2008 ?
    If "YES", are there any published information about the procedure ?

    Yes, it is. Thank you very much.
    But there is something that confuses me - I want to migrate from Win2003Std to SBS2008. And also, I want to keep the existing Win2003Std as a second DC for a long time.
    But it is written in the shown article:
    ... After the migration is finished, you must remove the Source Server from the network within 21 days. ...
    Is this rule mandatory for the scenarios where the Source Server is Std, not SBS ? As I know, I can have more than one DC(Win2003Std/Win2008Std) together with SBS2003. But what about SBS2008 ?

  • Unable to send email from my server to internet mail address. Labview.

    I have had great success sending mail when I SMTP to the actual mail server that the email address is on. But when I try to send from my server to some other email address I get an unable to relay "email address" server response. If someone has any ideas on this I would appreciate it. I have included some information that may aid in this endeavor. (I do not want to use Active X thanks to Outlook's dislike of that)
    Example:
    [email protected] email to mail.bellsouth.net works fine. [email protected] email to mail.company.com works fine. [email protected] from mail.company.com gives unable to relay message. (Vice Versa)
    Exact server response from SendEmail_LV6.vi from developer zone: (
    ht
    tp://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EB9956A4E034080020E74861&p_node=DZ52050&p_submitted=N&p_rank=&p_answer=&p_source=External)
    220 server.company.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at Fri, 23 Jan 2004 10:27:22 -0600
    250 server.company.com Hello [10.1.1.176]
    250 2.1.0 [email protected]...Sender OK
    550 5.7.1 Unable to relay for [email protected]
    554 5.5.2 No valid recipients
    500 5.3.3 Unrecognized command

    I agree, it is ususual for an SMTP server to check the validity of the reverse-path address, because mailers could just use a invalid address on a valid domain, e.g. [email protected] The address in the "MAIL FROM:" command gives the reverse path to communicate errors and can be different from the actual sender address.
    In any case, this is quite irrelevant for the current discussion, because address verification has nothing to do with relaying.
    The error message:
    550 5.7.1 Unable to relay for [email protected]
    is completely unrelated to your:
    450 Unable to find nowhere.com
    Just to clarify, I was talking about address in the FROM: field of the message header, and not what is
    communicated in the "MAIL FROM:" SMTP command. (Similarly, the TO: field in the header is not used for message targeting and can be anything, it can even be missing and the SMTP server still does not care. Targeting is done entirely with the RCPT TO: SMTP command which not contained in the header (the mail header is part of the message DATA). Refer to RFC 821 for further details.
    You probably won't find a legitimate SMTP server that allows relaying, so the solution is to use the designated SMTP server for the particular location.
    LabVIEW Champion . Do more with less code and in less time .

  • Deleting calendars & e-mail addresses from iTunes "info" tab.

    When I connect my iphone to my Mac, in iTunes launches when I look at the "info" tab there are calendars and e-mail addresses greyed out. (I use icloud so I don't sync my e-mail & calendars on the Mac.) Is there any way to delete those as one of the e-mail addresses and calendars I no longer use. It's not a make or break issue, more of just wanting to clean them out. I am running Lion on a MacBook Pro. Thanks in advance for any thoughts.
    JJ

    This is all part of the risk of making yourself a public figure.
    Your e-mail address is necessary in your feed file so Apple can communicate with you if needed. Since Apple is not going to manually process that address to remove any bot-blocking characters, you need to keep it "real".
    Using a gmail or other somewhat independant address can help limit the visibility of your primary address.

  • Cannot find a Verizon e-Mail address for Complaints

    My web-based Verizon e-mail was infected.  A viral e-mail was sent to everyone in my Sent folder that I had recently corresponded with.  That is how I know it happened via the web-based access, because I have many more contacts in my computer's Outlook application.  Also, at the time the viral e-mail was sent, I was at work, not at home on my home computer.  I received one of the viral e-mails at work!!!  I have been trying to find a contact e-mail to send this information to Verizon, but every time I click on a "Contact Us" link, it loops me back to the same page.  This is EXTREMELY frustrating!  Very bad customer service!!  Does anyone have a good e-mail contact for Verizon web-based e-mail issues?

    [email protected]
    Also, if your online email has been compromised, you need to immediately change your password and secret question to something new and complex.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • E-mail addresses for additional domains

    We own 3 domain names and I'm confused on how to set up e-mail for a user who uses all 3 domains. They use the same short name for all 3 accounts. We have the domains up and running.
    example:
    [email protected]
    [email protected]
    [email protected]
    How would I do this in OSX server 10.4.3?
    Powerbook G4   Mac OS X (10.4.3)  

    If you don't need virtual domains (sounds like you don't)
    Then just add the other domains to the local host aliases.
    In Server Admin application
    Mail:Advanced:Hosting
    Click + button to add new Local Host Aliases
    Every domain you host should be listed there.
    Mail for user@anydomain will arrive in the same mailbox.
    Of course all of this assumes DNS is setup properly.
    If you want to know more about virtual domains, a search here will come up with plenty. The Server docs also.
    Jeff

  • Channel for incoming mail addressed to specific domain

    I am trying to create a channel for all incoming messages addressed to a specific domain.
    I know that all incoming Internet mails go to tcp_local first.
    What I want to do is to separate mails for different domains to different channels so I could later process them, either with conversion channel or with some channel filters.
    Also, after passing trough those specific channels, how to put those mails back on track for delivery?
    Can anyone help on doing this?
    Thanks
    I�m running (on Solaris 8) MS5.2p1 hf1.21

    To look over the docs� but I already did, and it�s pretty bad, poorly explained�
    So, please let�s try to make this clear.
    Note, every time after making changes I run:
    imsimta cnbuild
    imsimta restart
    First, you gave an example to me (reply 5):
    [email protected]%tcp_friendly-daemon
    Second, I was not sure from your post where to put space (reply6), and I tested both cases:
    domain.net$E$F [email protected]%tcp_friendly-daemon # space between $F and $U
    and
    domain.net [email protected]%tcp_friendly-daemon # space between domain.net and $E
    Unfortunately, nothing has changed.
    Third, you wrote (reply 7) �No spaces�.
    Forth, I tested that as well and it gave me an error (reply 8).
    Fifth, in your last reply (reply 9) you said that I need a left and a right half, and you suggested an example that I�ve already checked (reply 6) and it wasn�t working :(
    So, now I am completely lost�
    Here is the result of testing this last example in imta.cnf:
    domain.net [email protected]%tcp_friendly-daemon # space between domain.net and $E
    ! tcp_friendly
    tcp_friendly smtp mx single_sys subdirs 20 noreverse maxjobs 7 pool SMTP_POOL mailfromdnsverify maytlsserver allowswitchchannel saslswitchchannel tcp_auth
    tcp_friendly-daemon
    imsimta cnbuild
    imsimta restart
    imsimta test -rewrite -debug [email protected]
    Could you review this result, please and try to see what is wrong.
    Initializing mm_.
    Initializing mm_ submission.
    Checking identifiers.
    *** Debug output from initializing MM for submission:
    13:43:32.79: mmc_winit('l','postmaster@machine_name.test.com','0IB800802GOK8O@machine_name.test.com') called.
    13:43:32.79: Queue area size 5858064, temp area size 5858064
    13:43:32.79: 1464516 blocks of effective free queue space available; setting disk limit accordingly.
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name.test.com", domain = "$*", literal = "", tag = ""
    13:43:32.79: Rewrite: "$*", position 0, hash table -
    13:43:32.79: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.79: Rewrite failed, not forward.
    13:43:32.79: Rewrite: "$*", position 1, hash table -
    13:43:32.79: Failed.
    13:43:32.79: Rewrite: "$*", position 0, rewrite database -
    13:43:32.79: Failed
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name", domain = "machine_name.test.com", literal = "", tag = ""
    13:43:32.79: Rewrite: "machine_name.test.com", position 0, hash table -
    13:43:32.79: Found: "$U%$D@machine_name.test.com"
    13:43:32.79: New mailbox: "postmaster".
    13:43:32.79: New host: "machine_name.test.com".
    13:43:32.79: New route: "machine_name.test.com".
    13:43:32.79: New channel system: "machine_name.test.com".
    13:43:32.79: Looking up host "machine_name.test.com".
    13:43:32.79: - found on channel l
    13:43:32.79: Routelocal flag set; scanning for % and !
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name.test.com", domain = "$*", literal = "", tag = ""
    13:43:32.79: Rewrite: "$*", position 0, hash table -
    13:43:32.79: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.79: Rewrite failed, not forward.
    13:43:32.79: Rewrite: "$*", position 1, hash table -
    13:43:32.79: Failed.
    13:43:32.79: Rewrite: "$*", position 0, rewrite database -
    13:43:32.79: Failed
    13:43:32.79: Rewriting: Mbox = "postmaster", host = "machine_name", domain = "machine_name.test.com", literal = "", tag = ""
    13:43:32.79: Rewrite: "machine_name.test.com", position 0, hash table -
    13:43:32.79: Found: "$U%$D@machine_name.test.com"
    13:43:32.79: New mailbox: "postmaster".
    13:43:32.79: New host: "machine_name.test.com".
    13:43:32.79: New route: "machine_name.test.com".
    13:43:32.79: New channel system: "machine_name.test.com".
    13:43:32.79: Looking up host "machine_name.test.com".
    13:43:32.79: - found on channel l
    13:43:32.79: Routelocal flag set; scanning for % and !
    13:43:32.79: Mapped return address: postmaster@machine_name.test.com
    *** Debug output from rewriting a forward header address:
    13:43:32.79: Rewriting: Mbox = "user", host = "domain.net", domain = "$*", literal = "", tag = ""
    13:43:32.79: Rewrite: "$*", position 0, hash table -
    13:43:32.79: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.79: Rewrite failed, not envelope.
    13:43:32.79: Rewrite: "$*", position 1, hash table -
    13:43:32.80: Failed.
    13:43:32.80: Rewrite: "$*", position 0, rewrite database -
    13:43:32.80: Failed
    13:43:32.80: Rewriting: Mbox = "user", host = "domain", domain = "domain.net", literal = "", tag = ""
    13:43:32.80: Rewrite: "domain.net", position 0, hash table -
    13:43:32.80: Found: "[email protected]%tcp_friendly-daemon"
    13:43:32.80: Rewrite failed, not envelope.
    13:43:32.80: Rewrite: "domain.net", position 1, hash table -
    13:43:32.80: Failed.
    13:43:32.80: Rewrite: "domain.net", position 0, rewrite database -
    13:43:32.80: Failed
    13:43:32.80: Rewriting: Mbox = "user", host = "domain", domain = ".net", literal = "", tag = ""
    13:43:32.80: Rewrite: "*.net", position 0, hash table -
    13:43:32.80: Failed
    13:43:32.80: Rewrite: ".net", position 0, hash table -
    13:43:32.80: Found: "$U%$H$D@TCP-DAEMON"
    13:43:32.80: New mailbox: "user".
    13:43:32.80: New host: "domain.net".
    13:43:32.80: New route: "TCP-DAEMON".
    13:43:32.80: New channel system: "TCP-DAEMON".
    13:43:32.80: Looking up host "TCP-DAEMON".
    13:43:32.80: - found on channel tcp_local
    13:43:32.80: Rewrite rules result: [email protected]
    13:43:32.80: Checking reverse URL cache for: [email protected]
    13:43:32.80: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
    13:43:32.85: Resulting URL: ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected]))
    13:43:32.85: mmc_open_url called to open ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected])), flags = 256
    13:43:32.85: URL with quotes stripped: ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected]))
    13:43:32.85: LDAP URL identified
    13:43:32.85: URL context #1 will be used
    13:43:32.85: Performing URL search on: ldap:///o%3Ddomain.net%2Co%3Disp?mail?sub?(|([email protected])([email protected]))
    13:43:32.86: mmc_read_url result: [email protected]
    13:43:32.86: URL resolution returned: [email protected]
    forward channel = l
    channel description =
    channel user filter =
    dest channel filter =
    source channel filter =
    channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
    channel flags #1 = NOSMTP DEFAULT
    channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
    channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
    channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
    channel flags #5 =
    channel flags #6 = LOCALUSER REPORTHEADER
    channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
    channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
    channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
    defaulthost = test.com test.com
    linelength = 1023
    channel env addr type = SOURCEROUTE
    channel hdr addr type = SOURCEROUTE
    channel official host = machine_name.test.com
    channel queue 0 name = LOCAL_POOL
    channel queue 1 name = LOCAL_POOL
    channel queue 2 name = LOCAL_POOL
    channel queue 3 name = LOCAL_POOL
    channel after params =
    channel user name =
    urgentnotices = 1 2 4 7
    normalnotices = 1 2 4 7
    nonurgentnotices = 1 2 4 7
    channel rightslist ids =
    local behavior flags = %x7
    backward channel = tcp_local
    header To: address = [email protected]
    header From: address = [email protected]
    envelope To: address = [email protected] (route (machine_name.test.com,machine_name.test.com)) (host domain.net)
    envelope From: address = [email protected]
    name =
    mbox = user
    Extracted address action list:
    [email protected]
    Extracted 733 address action list:
    [email protected]
    Address list expansion:
    user%domain.net@ims-ms-daemon
    1 expansion total.
    *** Debug output from submitting an envelope address:
    13:43:32.88: mmc_wadr(0x0018a888,'[email protected]','[email protected]') called.
    13:43:32.88: Copy estimate before address addition is 1
    13:43:32.88: Parsing address [email protected]
    13:43:32.88: Rewriting: Mbox = "user", host = "domain.net", domain = "$*", literal = "", tag = ""
    13:43:32.88: Rewrite: "$*", position 0, hash table -
    13:43:32.88: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.88: Match, pattern = "domain.net", current = "(*domaincheck*)"
    13:43:32.88: old state = not checked.
    13:43:32.88: Using result 1 from domain match cache.
    13:43:32.88: new state = succeeded.
    13:43:32.88: New mailbox: "user".
    13:43:32.88: New host: "domain.net".
    13:43:32.88: New route: "machine_name.test.com".
    13:43:32.88: New channel system: "machine_name.test.com".
    13:43:32.88: Looking up host "machine_name.test.com".
    13:43:32.88: - found on channel l
    13:43:32.88: Routelocal flag set; scanning for % and !
    13:43:32.88: Address [email protected] requires local processing.
    13:43:32.88: Variant #1 = [email protected]
    13:43:32.89: Variant #2 = *@domain.net
    13:43:32.89: Checking for [email protected] in the system alias file
    13:43:32.89: - not found
    13:43:32.89: Checking for *@domain.net in the system alias file
    13:43:32.89: - not found
    13:43:32.89: Checking [email protected] with URL template ldap:///$V?*?sub?$R
    13:43:32.89: LDAP URL template identified
    13:43:32.89: URL determined to be: ldap:///o%3Ddomain.net%2Co%3Disp?*?sub?(|([email protected])([email protected])([email protected]))
    13:43:32.89: URL context #1 will be used
    13:43:32.89: Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|[email protected]|[email protected]
    13:43:32.89: Scanning LDAP result.
    13:43:32.89: Attribute: objectclass
    13:43:32.89: Attribute index: 0
    13:43:32.89: Attribute: inetuserstatus
    13:43:32.89: Attribute index: 1
    13:43:32.89: Attribute: mailuserstatus
    13:43:32.89: Attribute index: 2
    13:43:32.89: Attribute: uid
    13:43:32.89: Attribute index: 4
    13:43:32.89: Attribute: mail
    13:43:32.89: Attribute index: 5
    13:43:32.89: Attribute: mailhost
    13:43:32.89: Attribute index: 9
    13:43:32.89: Attribute: mailDeliveryOption
    13:43:32.89: Attribute index: 18
    13:43:32.89: Attribute: preferredLanguage
    13:43:32.89: Attribute index: 42
    13:43:32.89: Scanning complete, begin actions
    13:43:32.89: Object class: top
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: person
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: organizationalPerson
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: inetOrgPerson
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: inetUser
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: ipUser
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: nsManagedPerson
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: userPresenceProfile
    13:43:32.89: Object class didn't match
    13:43:32.89: Object class: inetMailUser
    13:43:32.89: Object class match, reference value 1
    13:43:32.89: Object class: inetLocalMailRecipient
    13:43:32.89: Object class match, reference value 18
    13:43:32.89: User/group index = 1
    13:43:32.89: Domain is active
    13:43:32.89: Mail domain is active
    13:43:32.89: User status = active
    13:43:32.89: Mail user status = active
    13:43:32.89: User UID user found.
    13:43:32.89: Processing mailhost attribute machine_name.test.com
    13:43:32.89: Mailhost references local system
    13:43:32.89: Delivery option: mailbox
    13:43:32.89: Delivery options value: 1
    13:43:32.89: No reprocess flag on user, processing now
    13:43:32.89: Status for this address = 1
    13:43:32.89: - URL match for [email protected]
    13:43:32.89: Delivery option template: $M%$\$2I$_+$2S@ims-ms-daemon
    13:43:32.89: - user%domain.net@ims-ms-daemon
    13:43:32.89: Parsing address user%domain.net@ims-ms-daemon
    13:43:32.90: Rewriting: Mbox = "user%domain.net", host = "ims-ms-daemon", domain = "$*", literal = "", tag = ""
    13:43:32.90: Rewrite: "$*", position 0, hash table -
    13:43:32.90: Found: "$E$F$U%$H@machine_name.test.com$V$H"
    13:43:32.90: Match, pattern = "ims-ms-daemon", current = "(*domaincheck*)"
    13:43:32.90: old state = not checked.
    13:43:32.90: Using result 0 from domain match cache.
    13:43:32.90: new state = fail pending.
    13:43:32.90: Rewrite failed due to channel mismatch.
    13:43:32.90: Rewrite: "$*", position 1, hash table -
    13:43:32.90: Failed.
    13:43:32.90: Rewrite: "$*", position 0, rewrite database -
    13:43:32.90: Failed
    13:43:32.90: Rewriting: Mbox = "user%domain.net", host = "ims-ms-daemon", domain = "ims-ms-daemon", literal = "", tag = ""
    13:43:32.90: Rewrite: "ims-ms-daemon", position 0, hash table -
    13:43:32.90: Failed.
    13:43:32.90: Rewrite: "ims-ms-daemon", position 0, rewrite database -
    13:43:32.90: Failed
    13:43:32.90: Looking up host "ims-ms-daemon".
    13:43:32.90: - found on channel ims-ms
    13:43:32.90: - orig_send_access mapping check: l|postmaster@machine_name.test.com|l|[email protected]
    13:43:32.90: - passed.
    13:43:32.90: - send_access mapping check: l|postmaster@machine_name.test.com|ims-ms|user%domain.net@ims-ms-daemon
    13:43:32.90: - passed.
    13:43:32.90: - adding address user%domain.net@ims-ms-daemon to channel ims-ms
    13:43:32.90: - adding address [email protected] to headers.
    13:43:32.90: Copy estimate after address addition is 2
    Expanded address:
    [email protected]
    Submitted address list:
    ims-ms
    user%domain.net@ims-ms-daemon (orig [email protected], inter [email protected], host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
    Submitted notifications list:

  • Principal Name for Active Directory "Domain Users"

    Hi,
    I successufully integrated Weblogic & Active Directory Kerberos (SSO). I tested a web application and successifully logined it with authentication.
    The system automatically recognized my Active Directory username. It worked.
    For authentication in my weblogic.xml I used
    <security-role-assignment>
    <role-name>admin</role-name>
    <principal-name>kursat</principal-name>
    <principal-name>fenerbahce</principal-name>
    </security-role-assignment>
    Now I'm trying to allow all domain members to authenticate my application. For my application I only need the actice directory usernames for them.
    For this purpose, I removed "kursat","fenerbahce" from my weblogic.xml
    <principal-name>kursat</principal-name>
    <principal-name>fenerbahce</principal-name>
    I added
    <principal-name>Domain Users</principal-name>
    instead of writing all domain users.
    However I couldn't authenticate. I got the "Error 403--Forbidden"
    Is there anyone can help me?

    test by creating a groups under Domain Users and use it as your principal name in your weblogic.xml
    -Faisal
    http://www.weblogic-wonders.com

  • How to validate an email address against free domain users

    Hi all,
    I want to validate an email address so that only users of non free domains (let's say other than yahoo, hotmail, gmail, etc) can create an account in my apex application.
    I want to place a validation on the "Registration Page" but I am not sure how to proceed from then on :(
    Does anybody know how I can do this ?
    Kind Regards,
    Ana-Maria

    Hi Ana-Maria,
    You can do this on two places. You can do it on the client (using javascript) or you can do this on the database (using a trigger or a check constraint). The best way is to do both.
    Use something like this for the javascript bit:
    <script type="text/javascript">
    function checkemail(){
      var email = $v('P4_EMAIL');
      //get index of @
      var x = email.indexOf('@');
      //get the string behind @
      var behind_amp = email.substring(x+1, email.length);
      //get the index of the .
      var y = behind_amp.indexOf('.');
      //filter out the provider
      var provider = behind_amp.substring(0, y);
      var result;
      // set all wrong providers in this case
      switch(provider){
        case 'hotmail': result=false;break;
        case 'yahoo': result=false;break;
        case 'gmail': result=false;break;
      // Check the result
      if (!result){
        //The provider is bad
        alert(provider + ' is not allowed!');
        //Keep the focus on the email field
        setTimeout(function(){$x('P4_EMAIL').focus();}, 5);
    </script>Set the event to the onchange of the email field (in HTML Form Element Attributes):
    onchange="checkemail();"Hope this helps,
    Greetings Rutger

  • How to find the address of mail server just considering mail address

    Hi,
    suppose i want to send mail [email protected] how can i know the address of its mail server

    I don't know, but you don't need to know that either just to send e-mail there. You can use your own server to do that.

  • Problem with a Stuck ML Calendar Client using Server Calendar

    I set up group Wikis on our server, which seem to work fine (as long as everyone remembers to log in with "https:" not "http:".
    On my ML client however, after cleaning out old Calendar accounts with the server, using System Preferences to create a Calendar account with the server, and then reopening Calendar, I can see the Server as a calendar source on the left pane but always get a message that says:
    "The URL https://<server URL>/principals/__uids__/0D06B83A-D825-4318-816C-097904CB4886/ encountered HTTP error 404. Make sure the URL is correct."
    I suspect that the hex code for my user ID is wrong (or maybe it is a group ID). But I can't seem to fix this. There is no place in the application to edit this URL. I can delete the server account from Calendar and try to start again and I still get the same message.
    Is there a configuration file where I can kill this and start over? I suspect some of my other clients to the server will also have this problem as I migrate them over.
    Thanks!

    I am still trying to debug this problem.
    I have tried removing the Server account from Calendar Preferences as well as System Preferences, then readding. Did not work.
    I tried doing the remove again, this time removing everything in Keychain associated with the Server Calendars. Did not work.
    I tried going to ../<User>/Library/Calendars and navigating to the caldav directory associated with the server (this takes some poking around as the directory name is based on the server's hex identifier), then renaming the Info.plist file, then deleting the account from System Preferences, then recreating. Did not work. In fact the renamed Info.plist file was gone, but a new one was there.
    The Info.plist file contained the bad entry in several places. This is what mine looks like (with specific servers and user names replaced):
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>AccountIsEnabled</key>
            <true/>
            <key>AutoDiscovery</key>
            <false/>
            <key>AutoScheduleSupport</key>
            <true/>
            <key>CalendarHomePath</key>
            <string>/calendars/__uids__/0D06B83A-D825-4318-816C-097904CB4886/</string>
            <key>CalendarProxySupport</key>
            <true/>
            <key>CalendarServerPrivateEventsSupport</key>
            <true/>
            <key>CalendarUserAddresses</key>
            <array>
                    <string>urn:uuid:0D06B83A-D825-4318-816C-097904CB4886</string>
                    <string>/principals/users/<user short name>/</string>
                    <string>mailto:<user mailing address></string>
                    <string>/principals/users/<another short name>/</string>
                    <string>/principals/users/<another short name>/</string>
                    <string>/principals/__uids__/0D06B83A-D825-4318-816C-097904CB4886/</string>
            </array>
            <key>Color</key>
            <string>#808080FF</string>
            <key>Delegate</key>
            <false/>
            <key>DropBoxPath</key>
            <string>/calendars/__uids__/0D06B83A-D825-4318-816C-097904CB4886/dropbox/</stri ng>
            <key>Enabled</key>
            <true/>
            <key>ExpandPropertyReportSupport</key>
            <true/>
            <key>Expanded</key>
            <true/>
            <key>FullName</key>
            <string><User Full Name></string>
            <key>InboxAvailabilitySupport</key>
            <true/>
            <key>InboxPath</key>
            <string>/calendars/__uids__/0D06B83A-D825-4318-816C-097904CB4886/inbox/</string >
            <key>KeepOffline</key>
            <false/>
            <key>Kerberos</key>
            <false/>
            <key>Key</key>
            <string>0F753F73-160F-4836-91F3-8B0A54F10B85</string>
            <key>Login</key>
            <string><user short name></string>
            <key>ManagedAttachmentSupported</key>
            <false/>
            <key>NotificationCollectionPath</key>
            <string>/calendars/__uids__/0D06B83A-D825-4318-816C-097904CB4886/notification/< /string>
            <key>Order</key>
            <integer>39</integer>
            <key>OutboxPath</key>
            <string>/calendars/__uids__/0D06B83A-D825-4318-816C-097904CB4886/outbox/</strin g>
            <key>PrincipalURL</key>
            <string>https://<server URL>:8443/principals/__uids__/0D06B83A-D825-4318-816C-097904CB4886/</string>
            <key>PrivateCommentsSupport</key>
            <true/>
            <key>PushDisabled</key>
            <false/>
            <key>RefreshDate</key>
            <date>2012-12-02T19:44:22Z</date>
            <key>RefreshInterval</key>
            <integer>900</integer>
            <key>RequestCompressionSupported</key>
            <false/>
            <key>ShareDefaultAlarmSettings</key>
    <true/>
            <key>SupportsDefaultAlarms</key>
            <true/>
            <key>SupportsSharing</key>
            <true/>
            <key>SupportsSubscriptionCalendars</key>
            <false/>
            <key>Title</key>
            <string><server name></string>
            <key>Type</key>
            <string>CalDAV</string>
            <key>Writable</key>
            <true/>
            <key>isInSeparateWindow</key>
            <false/>
            <key>isManuallyConfigured</key>
            <false/>
    </dict>
    </plist>
    This tells me that my client is pulling this information down from the server. Annoying. Where is the configuration file on Mountain Lion Server? Why does it use the Hex address??? Short name would be infinitely better!

  • I have several e-mail addresses . . . how to get them all in Mail?

    I'm new to Mail and get my primary e-mail just fine (att.yahoo). I have several other e-mail addresses from different domain names -- work, organizations, etc -- how do I get these as well in mail.
    I know there is a simple answer to this but I haven't found it.
    Thanks.

    I have a similar add to apple mail issue: I am trying to add my NYC Board of Education e mail. But I can't figure out what to write in the Outlook Wel Access Server.
    If anyone can help me , I put Exchange Server as my account type.

  • Get SAP User E-Mail Address

    Hi,
    does anybody know where I can find the e-mail address of a sap user (The one which you can edit via SU01). I already took a look at all the usr* tables and of course adrc but this little bastard still hides in the dark
    Any help is greatly appreciated.
    regards
    Thomas

    Hi Thomas,
    offtopic request ...
    Could you send me your mail address? Did not find it on your BC, don't think we exchanged addresses there.
    Use my name to mail me at [email protected]
    Thx
    Max

  • MSDS - different e-mail-addresses for the sender

    Hi,
    we want to set up e-mail/INT for MSDS.
    Depending on the initiator we would like to have different e-mail addresses as sender. At the moment it's the e-mail-address of the batch-user of the job.
    - Can I split the jobs for each initiator? (How?)
    - Or do I have to use programming - if yes, where can I change the e-mail-address of the batch-user depending on the initiator?
    Thanks!
    P.C.

    Hello
    please check the available user exits in the report distribution process of EH&S. I am not quite sure but I believe there is no "direct" option to have this split e.g. per initiator or you must use one of the exits. But it is clear one could think about it using programming. In the central tables of report shipment the initiator (or sale org) is a central information which is processed and used (in SAP standard) in many areas in report shipment
    In http://help.sap.com/erp2005_ehp_04_sp/helpdata/en/a7/288aa30a6c11d28a220000e829fbbd/frameset.htm and other linked which I checked shortly I found no reference regarding an option like you described.
    PLease check especially this one:
    http://help.sap.com/erp2005_ehp_04_sp/helpdata/en/a7/288aa30a6c11d28a220000e829fbbd/frameset.htm.
    Here you get an overview of the process and all user exits which are processed. In principle you can "copy" the SAP one and create a "customer" specific one but I am not sure if you will find a suitable point to handle the eMail topic you mentioned.
    With best regars
    CB

Maybe you are looking for

  • House fire damage to iMac

    We recently had a house fire at our town home cluster.   Our unit was damaged with smoke residue.  The visible damage was in the room with our one year old 27 inch iMac.  Is there some documentation or insurance standard that will allow for replaceme

  • What is environment variable in iplanet

     

  • Linker error. Xcode 3.1.3 + iPhone

    Hi i'm pretty new to XCode, I am extending an example project and have had no problems until now. A small but annoying block to my progress has turned up in trying to create and use a c++ class in my project. I have created a .cpp and .h through the

  • I would like to do a full restore from time machine but have lost my boot/install disk.

    Hi, Recently had my HDD replaced (with fresh OS installed) and even though I have everything backed up on time machine am struggling to complete a full restore. After reading time machine help understand I need to mac os install/boot disk to get to t

  • Creating graphs

    We are just implementing SAP and have decided to go with workbooks for the users to run.   They also would like to see graphs but the chart functions in Bex don't seem to work very well.  what would be the best way to create the graphs?  There just d