Feb 16, 2009

Hookup SharePoint outgoing email with your Email vendor

update on window server 2008 configuration. First read this post. Following that post, you can setup sharepoint outgoing email IF your target email server accepts annonymos relay or don't need authentication from your sharepoint smtp server. But in case that you want to send to gmail or hotmail or like the following scenario where your company outsources email server to a third party, continue to read:

I ever had a client who outsource their Email service to a vendor, and the vendor doesn't accept anonymous relay, in stead they require authentication. OOB there is no place for SharePoint to provide this info, can sharepoint outgoing email still be set?

Yes, you can. Use sharepoint local smtp and configure its delivery outbound security:

First change relay restriction:



Then configure Security of outbound Delivery:

There you have option to choose authentication mode and enter credentials.
After that, you need to configure smart host by clicking "Advanced" button. Your mail vendor should provide your smart host name.

update on Win2k8: IIS 7.0 SMTP setting has no effect on sharepoint mail outgoing. All you need to configure is IIS 6.o SMTP.
update on sync of user AD info(including email): user AD data are sync-ed with sharepoint profile data by "profile import", and user info which are displayed on sharepoint team siteis actually stored content database, and are sync-ed with Profile data by 2 timer jobs:hourly Profile Syncronization and minutely Quick Profile Syncronization.
So after you change AD data, you must do the followings before seeing new info on sharepoint site (such as email address for alert)
  1. import Profile;
  2. wait up to 1 hour for existing users,
or
delete users from site collection and add them back in (to trigger Quick Profile Sync timer job, which only applies to newly added users)

Jan 1, 2009

FBA User Display Name

After implemnting FBA in MOSS, in Welcome menu, account name such as "jsmith" rather than "joe smith" is displayed. Very often, people find it very annoying. In WSS, user can simple change the display name by editting "My Settings", but in MOSS, none of "My Settings" fields is editabe.

Why? the reason is, In MOSS, the "My Settings" info comes from user profile. If your FBA data source is LDAP compatible, you can configur a custom profile import like this:




*enigma is your FBA authentication provider name.

after user profile import is finished, you should be able to see your FBA users with "Name" property containing friendly "displayName" (assuming you have it in your LDAP data source, for example, ADAM)

You need to wait up to 1 hour for profile sync or my site cleanup timer job (see Spencer's article) to kick off (for profile sync, users need to be a site user in contrast to those user whose permission are assigned in application policy). Then close all your browser and log back in again, you will see friendly user display name in welcome menu.