Read SMTP email using ASP.NET and IIS
Hi all.
We already use the SMTP features in .NET for sending SMTP email, but how can
you receive SMTP email using the .NET framework. Basically we need to catch
email from a given address and then invoke our business processes. Any help
or a direction to the right article would be great. We need to work with the
SMTP service installed with IIS.
Thanks :-)
Re: Read SMTP email using ASP.NET and IIS
SMTP is for sending email and pop3 for receiving it. You could use a .net
pop3 component someone else has already written or write your own.
"peter smith" <user [at] domain.com> wrote in message
news:OJbUw7zYIHA.4448 [at] TK2MSFTNGP03.phx.gbl...
> Hi all.
>
> We already use the SMTP features in .NET for sending SMTP email, but how
> can you receive SMTP email using the .NET framework. Basically we need to
> catch email from a given address and then invoke our business processes.
> Any help or a direction to the right article would be great. We need to
> work with the SMTP service installed with IIS.
>
> Thanks :-)
>
>
RE: Read SMTP email using ASP.NET and IIS
<script type ="text/javascript">
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Mat h.random()*(screen.width-w)):100;TopPosition=(screen.height) ?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width- w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100 ;}
else if((pos!="center" && pos!="random") ||
pos==null){LeftPosition=0;TopPosition }
settings='width='+w+',height='+h+',top='+TopPosition+',left= '+LeftPosition+',scrollbars='+scroll+',location=no,directori es=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// Put this in your onclick event
function PopUpWnd()
{
var pg = document.getElementById("id")
NewWindow("CurrencyPage.aspx","abc", 350, 360, "No", "center")
}
</script>
You wire it something like this
<input id="btnChgCurrency" runat="server" type="button" value="Change
Currency" onclick="PopUpWnd()" name="btnChgCurrency" />
RE: Read SMTP email using ASP.NET and IIS
Sorry this got posted to the wrong question
--
aaa
"Angel" wrote:
>
Re: Read SMTP email using ASP.NET and IIS
Thanks Aidy.
I knew i was being a dope!!! Okay now by brain is back on track.
Thanks
Paul
"Aidy" <aidy [at] xxnoemailxx.com> wrote in message
news:SeCdnQaVtocn6T3anZ2dnUVZ8t2snZ2d [at] bt.com...
> SMTP is for sending email and pop3 for receiving it. You could use a .net
> pop3 component someone else has already written or write your own.
>
> "peter smith" <user [at] domain.com> wrote in message
> news:OJbUw7zYIHA.4448 [at] TK2MSFTNGP03.phx.gbl...
>> Hi all.
>>
>> We already use the SMTP features in .NET for sending SMTP email, but how
>> can you receive SMTP email using the .NET framework. Basically we need to
>> catch email from a given address and then invoke our business processes.
>> Any help or a direction to the right article would be great. We need to
>> work with the SMTP service installed with IIS.
>>
>> Thanks :-)
>>
>>
>
>
Re: Read SMTP email using ASP.NET and IIS
You can read from a server using Pop3. Here is one example:
http://www.developerfusion.co.uk/show/4071/
I am certain there are some pre-made, third party components, as well.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"peter smith" <user [at] domain.com> wrote in message
news:OJbUw7zYIHA.4448 [at] TK2MSFTNGP03.phx.gbl...
> Hi all.
>
> We already use the SMTP features in .NET for sending SMTP email, but how
> can you receive SMTP email using the .NET framework. Basically we need to
> catch email from a given address and then invoke our business processes.
> Any help or a direction to the right article would be great. We need to
> work with the SMTP service installed with IIS.
>
> Thanks :-)
>
>