Web Forms :: How To Copy A File From The Web Server To The SMTP Server

Apr 23, 2010

I need to copy a (WAV) file that I have just posted to the Web Server (successfully) over to the SMTP server for additional processing. I am confused about the process. Here is what I do now:

1. Post the file via "http POST" from the client to the web server.

Here is what I would like to accomplish:

1. Post the file to the web server

2. Copy the file from the web server to the SMTP server.

I am experiencing a "brain block" which I get too often and cannot visualize the processes. What should I write on the web server as a method to grab the newly received file and send a copy on over to a specific directory in the SMTP server (MailServer is the SMTP server and the physical directory is "c:/TempMessages". Do I need to run IIS on the SMTP server and create a virtual path??

View 3 Replies


Similar Messages:

Web Forms :: File Copy From Remote Server To Site Server ?

Jan 25, 2011

I have deployed my site in Win 2003 server. In this, it copies file from Another server and copies it in local. It is working with my local computer, but not in the server i have deployed. I hope access credentials may be the first reason. But are there any other reasons for this.

View 1 Replies

Web Forms :: Code To Dowloading A Copy Of A File From Server?

Jul 14, 2010

What is the code to dowloading a copy of a file from server? For example to access some webpage using different font like chines ,Hidi etc.they will provide a option to download the corresponding font for read the site.

View 2 Replies

Web Forms :: File Copy From Local Machine To Web Server

Mar 9, 2013

I am attempting to write an asp.net application that copies any file from the user's local machine to another server on the same network.

The Catch

The server that will house the application is separate from the server that will receive the files from the local user's machine. In other words, to do the file copy the user will have to access the application on one server via IIS and within the application it must place that file on another server. Further, these servers while on the same network cannot physically see each other.

In addition, the users of the application are connected Anonymously (Anonymous Authentication)

View 1 Replies

Configuration - Multiple SMTP Servers Or Update The SMTP Object Server Information At Runtime?

Nov 5, 2010

The question: Is it possible to configure multiple SMTP servers or update the SMTP object server information at runtime?

Description of problem: The site I'm working on has a few pages which send emails. Our site is using Gmail so even though it's a custom domain our email is sent out though Gmail SMTP servers.

Some emails come from the system and some emails come from users in certain groups. I have an SMTP server configured with the admin email for the system e.g. admin@mysite.com This works fine and when I get the email it shows from admin@mysite.comOne of our user groups let's call it "groupA" has an email configured on our domain i.e. groupA@mysite.com When I send the email and specify a from address for the MailMessage object as groupA@mysite.com it still shows up in my outlook as coming from admin@mysite.com I did a little further testing and if I specify both the from address and the ReplyTo as groupA@mysite.com it will show as From=admin@mysite.com but when I choose reply in outlook it shows groupA@mysite.com My best guess is that Gmail is overwriting the From address with the SMTP user to prevent email spoofing.

I found this: http://www.systemnetmail.com/faq/4.1.aspx but it won't work for me since group A, B, and C all need to send emails from the same page.

View 1 Replies

How To Copy File From Client Machine To Server Folder Without File Upload Control

Mar 25, 2010

I have to copy a file from client machine to server folder without use file upload control.

i tried with WebClient().Like this

Dim onbjweb As New WebClient()
onbjweb.UploadFile(Server.MapPath(serverpath), "POST", LocalFilePath).

Its working fine in localhost.When its deployed in server its not working.

View 2 Replies

Way To Copy A File To Another Server

May 20, 2010

I am trying to copy a picure fil(jpg) to another server. I am using this code but for some rezone is the file corupted once it arrives to the other server.

Code:
Dim myFtpWebRequest As FtpWebRequest
Dim myFtpWebResponse As FtpWebResponse
Dim myStreamWriter As StreamWriter
Dim filename As String = Request.QueryString("filename")
filename = filename.Replace("../incoming/mms/", "")
myFtpWebRequest = WebRequest.Create("ftp://bklmydomain/wwwroot/" & filename)
[code]...

View 2 Replies

Security :: Copy AlI File From Client Machine To Server Folder?

Apr 13, 2010

i have to copy AI file from client machne toserver without use the file upload control.

Can i use Scripting.FileSystemObject ?

View 1 Replies

Use Localhost SMTP Server For Emails But Route It Through Exchange Server 2003?

Jan 7, 2010

I have developed an enterprise application in ASP.NET that sends emails using localhost SMTP server on the same box as the IIS web server for the ASP.NET app.

So right now any email sent from this ASP.NET app would hit internet firewall of the enterprise and then be directed to the right destination email address.

I was hoping to not hit the internet firewall of the enterprise, but hit the Exchange Server of the enterprise.

So the situation I am aiming for is: ASP.NET APP ===> Localhost SMTP SERVER ===>EXCHANGE SEVER 2003 ===>SEND OUT THE EMAIL

rather than ASP.NET APP ===> Localhost SMTP SERVER ===>SEND OUT THE EMAIL

So I still want to use the same mail configuration in my ASP.NET app of localhost as SMTP server, but just want the email to first go through Exchange Server before being sent out.

View 3 Replies

DataSource Controls :: Copy A Database On A Development Server To Local Server?

Jan 12, 2010

I want to copy a database on a development server to my local server. I am not the server administrator but I have rights to the database. Soon after the wizard Executes the SQL Server Agent Job it fails and the error message says:

The job failed. Check the event log on the destination server for details.

Where do I find this log? Also what could be the problem?

View 3 Replies

DataSource Controls :: Copy Data From One SQL Server Database To Other SQL Server

May 21, 2010

how to copy data from one SQL Server database to other SQL server database using two connection string...

View 4 Replies

SMTP Email Not Sent In One Server But Sent In Another Server?

Nov 23, 2010

I have a section of code that sends email from SMTP server.

The code is carried out webservice & smtp server value is picked up from web.config, while the code hosted on server1 works (send/receive emails), whereas the same code hosted in server2 doesn't send/receive email.

View 2 Replies

Web Forms :: How To Send Mail Using Smtp Server Using C#

Feb 2, 2010

how to send mail in asp.net using c#.. i'm using SMTP server method but its not accurate it consumes lot of time to reach distination address.

View 12 Replies

Web Forms :: Send Email Using SMTP Server?

Nov 21, 2011

I want to send emails using SMTP server in ASP.Net. I amusing C#

View 1 Replies

Web Forms :: How To Send Email Through SMTP On Server 2008

Sep 1, 2010

I have the following form and trying to click a button and email through an SMTP server.

[Code]....

Code behind:

[Code]....

Web.config file:

[Code]....

View 9 Replies

Web Forms :: Info Req On Smtp Server And Sending Mails?

Feb 1, 2011

i am working on a project which needs to send mails. it is still under development.

can any one guide me how to setup smtp server (IIS 5) to send mails and code to send mails as well. this is all for testing only.

View 9 Replies

Web Forms :: Sending Mail From Dynamic Addresses Via Google Smtp Server

May 12, 2010

I have developed a colleg web applicaition. I have used my gmail account as my smtp server to send back to the client passwords from "Password recovery" link. The problem is that , I am able to send messages only from my gmail account. I want to know whether I can send messages using different e-mail addresses of the clients retrieved from the database instead of sending the mail using my own.

View 2 Replies

Web Forms :: SMTP Server Requires A Secure Connection Or Client Was Not Authenticated

Oct 11, 2012

I am created a from sending mails. I have tried ur code.. But I am getting under error.

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required 

View 1 Replies

Web Forms :: Message Could Not Be Sent To SMTP Server - Transport Error Code 0x80040217

Jun 16, 2015

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available

Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

View 1 Replies

SQL Server :: Copy Data From One Server To Another?

Dec 14, 2010

I'm changing my DB server. I need to move all tables with datas. I'm using SQLSEVER2005.

View 15 Replies

Configuring SMTP Server In IIS?

Dec 21, 2010

I am trying to get the SMTP Server in IIS7 working so I can use the asp:PasswordRecovery component. I have included a screenshot of my SMTP setup in IIS, the SMTP setup in my web.config file, and my asp:PasswordRecovery component code. I have set it up to not require any authentication settings. I basically want to specify whatever email address I want as the "From" attribute (I'm using a series of noreply* addresses for a web app), like the php mail function that lets you put whatever you want in the from argument. What am I missing? Do I need to install anything else? I'm assuming that when people say "you need an SMTP server to send mail", this is what they're talking about.

Web.config:

[Code]....

ASP Code:

[Code]....

SMTP Setup Screenshot:

View 6 Replies

Web Forms :: Send Email Through Gmail Account - SMTP Server Requires A Secure Connection

Jan 12, 2011

i'm trying to send email through gmail account

i get this error:

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at

web config is like below:

[Code]....

and my code :

[Code]....

View 4 Replies

Web Forms :: Gmail Error / SMTP Server Requires A Secure Connection Or Client Was Not Authenticated

Jun 16, 2015

How to fix this error,

"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at"

[URL].....

View 1 Replies

Web Forms :: Sending Email - SMTP Server Requires Secure Connection Or Client Was Not Authenticated

Aug 18, 2015

I want to send a email without using gmail domain but its giving error given below...

The SMTP server requires a secure connection or the client was not authenticated. The server response was: Relaying not allowed - sender domain not local

View 1 Replies

Web Forms :: How To Copy A Server Control To Another

Feb 1, 2010

I need to copy a cached treeview control to the treeview control in use.

I know i cannot directly assign the server control to another control.

But, Can anyone come up with a work around to do the same. I dont want to loop through each node of the control and copy it.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved