bpayne111 Posted April 26, 2004 Posted April 26, 2004 i'm writing an app that needs to send email through an ms exchange server over a vpn. i've played with it a bit and can't seem to figure it out what kinda hoops do i have to jump through for this? thanks brandon Quote i'm not lazy i'm just resting before i get tired.
bungpeng Posted April 27, 2004 Posted April 27, 2004 Are you using ASP.NET? If it is ASP.NET, then you just put to your email server IP and user login information, it is doesn't matter what email server it is (whether exchange server or others), as long as your web server can link to your email server in your network. Quote
bpayne111 Posted April 27, 2004 Author Posted April 27, 2004 well i'm ipmorting System.Web in a Console App. Where do i input the user logon info? also i'd like to have the mail sent in the background so it doesn't bother them. will they know it's being sent? also do i just use the smtpServer object and put the vpn ip there instead of smtp.xxxx.com? thanks for your help brandon Quote i'm not lazy i'm just resting before i get tired.
bungpeng Posted April 28, 2004 Posted April 28, 2004 If I not mistaken, the smtpServer object has the property for user logon info. If you want to send mail in background, then you may need to use separate thread to handle this process. Domain name smtp.xxxx.com actually is same as IP. Quote
bpayne111 Posted April 28, 2004 Author Posted April 28, 2004 SmtpServer is a string propterty of SmtpMail not it's own object :( so msexchange server mail will work using hte smtp objects? it seems something is missing thanks for the help brandon Quote i'm not lazy i'm just resting before i get tired.
bungpeng Posted April 28, 2004 Posted April 28, 2004 SmtpServer is a string propterty of SmtpMail not it's own object :( so msexchange server mail will work using hte smtp objects? it seems something is missing thanks for the help brandon Send Email is a quite straightforward process, I do not think you will face any serious problem, please refer to: ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfsystemwebmailsmtpmailclasstopic.htm Quote
bpayne111 Posted April 28, 2004 Author Posted April 28, 2004 i can make the mail send easy as regular smtp.work.com but if my user is connected to our vpn (and they will be) i can't send the mail users connect to the vpn solely for the purpose of email. i'll check the link Quote i'm not lazy i'm just resting before i get tired.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.