Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

i'm not lazy i'm just resting before i get tired.
Posted

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.

Posted

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

i'm not lazy i'm just resting before i get tired.
Posted
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.
Posted

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

i'm not lazy i'm just resting before i get tired.
Posted
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

Posted

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

i'm not lazy i'm just resting before i get tired.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...