环境:moss 2007 sp2;sql 2008;exchange 2007

为公司内部员工使用,为了让合作伙伴也能有一定的权限,建立了test2.com,外部用户都建立在这个域下面;外部账户所关联的账户为外部邮箱

需求:为外部用户添加账户:test2/testuser1,该账户关联的邮箱为testuser@

该用户可以正常访问moss网站;先需要document中的内容有修改时,给test2/testuser1发通知邮件;

直接设置该用户接受alertme时,出现以下错误:

The following users do not have e-mail addresses specified:test2/testuser1.Alerts have been created successfully but these users will not receive e-mail notifications until valid e-mail addresses have been provided

 

解决办法:

在sql上为该用户手动指定外部邮箱

找到该用户访问的网站集所对应的db,然后展开Tables,找到dbo.userinfo,对该表执行

UPDATE [WSS_Content_waibusite].[dbo].[UserInfo]
   SET [tp_Email] = 'testuser@'  
 WHERE tp_login in ('test2/testuser1')
Go

 

然后使用命令查看,发现邮箱已经设置为外部邮箱:

select * from dbo.user.userinfo WHERE tp_login in ('test2/testuser1')

然后测试alertme,发送邮件正常。