TSWA can not send out email
- Hi:
i just setup TFS 2008 and TSWA on client side, and trying to figure out how to send email from it. no matter how much i tried, i can not send out the email. i even try to configure it to gmail smtp server, but it still give me error of
'Unable to connect to remote server'
my TSWA web.config is configured as following:
<webAccessSettings>
<emailSettings sendingEmailEnabled="true" enableSsl="false" fromEmail="someone@gmail.com" smtpHost="smtp.gmail.com" smtpUsername="someone@gmail.com" smtpPassword="pwd" />
<jscriptConfig>
<add name="showBrowserToolbar" value="true" />
</jscriptConfig>
</webAccessSettings>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<!-- Use default credentials -->
<network port="465" />
</smtp>
</mailSettings>
</system.net>
anyone can help me with this?
Answers
- For some reason, the SMTP server is rejecting the connection.
One possibility is that your SMTP server is not recognizing the "From" address (TFSAdmin@localhost). You should be able to confirm this by trying it over telnet. Try changing the From address to something else that your SMTP server would recognize to see if it makes a difference.
Hakan Eskici - MSFT- Marked As Answer byHongye SunMSFT, ModeratorFriday, October 23, 2009 9:42 AM
All Replies
Hi KandV,
The settings seems different with the following blog:
http://web.iotap.com/Blogs/tabid/277/EntryId/39/Enabling-Email-Functionality-in-the-Team-System-Web-Access-TSWA.aspx
Can you follow the instructions in the blog and let me know the result?
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byHongye SunMSFT, ModeratorWednesday, September 23, 2009 7:41 AM
Are you still having this issue? Please let me know so that I know how to help.
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.I am sorry i dont really have time to look through this for recent weeks,yesterday i have tried it, but seems it still not working wiz me.
let me describe my situation in more details to see if you guys can help me on this:
My TFS server is located within my clients domain, TSWA is in the same box. i am abel to telnet to my client's smtp server and send out email. but when i filled my client's smtp server ip address into TSWA web.config. system keeps prompt me the error "Failure sending mail. Unable to read data from the transport connection: net_io_connectionclosed".
following is the email part in web.config:
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="TFSAdmin@localhost">
<network defaultCredentials="false" host="My Client's smtp server ip" password="my domain account pwd" port="25" userName="my domain account" />
</smtp>
</mailSettings>
</system.net>
is there any one have some suggestion?- For some reason, the SMTP server is rejecting the connection.
One possibility is that your SMTP server is not recognizing the "From" address (TFSAdmin@localhost). You should be able to confirm this by trying it over telnet. Try changing the From address to something else that your SMTP server would recognize to see if it makes a difference.
Hakan Eskici - MSFT- Marked As Answer byHongye SunMSFT, ModeratorFriday, October 23, 2009 9:42 AM


