看你引用的帖子,好像是這樣: 在 if sys.In then 後麵加上 name = req.Header.from.FromURI.User.to_s req.Header.From.FromName = name 就可以了。試試看。