Hey all,

I have a URGENT problem and I hope someone could help me...

scenery:
I have a windows app, coded using C# (framework 1.1 - VS2003)... The

exe and dlls of the app is are stored in a server, and the clients

access this app through a shortcut that points to this. The folder of

the app is shared on the network. This app accesses a oracle database.
I'm using system.web.mail namespace..

The users/clients can access the app with no problem, everything ok.

But when I try to send mails, I get an exception...

When I'm debuging the app and running it local, the e-mail is sent,

but when I copy it to the server and access the app through the

network, i get the error...

So here are my question:

- What's the name given to this programming model (user/client

accessing exes on a server)?
- What are the requirements to accomplish this task according to this

programming model?
- Do the client pcs need something special to send the mail?

Thanks for your help and sorry for poor english.

Re: URGENT * PLEASE - problem when sending mail - C# - Framework by Udo

Udo
Tue Jul 22 01:23:31 CDT 2008

=== original message ===
from: Férnas
date: 22.07.2008 06:10

> Hey all,
>
> I have a URGENT problem and I hope someone could help me...
> scenery:
> I have a windows app, coded using C# (framework 1.1 - VS2003)... The
> exe and dlls of the app is are stored in a server, and the clients
> access this app through a shortcut that points to this. The folder of
> the app is shared on the network. This app accesses a oracle database.
> I'm using system.web.mail namespace..
>
> The users/clients can access the app with no problem, everything ok.
>
> But when I try to send mails, I get an exception...
> When I'm debuging the app and running it local, the e-mail is sent,
> but when I copy it to the server and access the app through the
> network, i get the error...

What kind of error?

> So here are my question:
>
> - What's the name given to this programming model (user/client
> accessing exes on a server)?
> - What are the requirements to accomplish this task according to this
>
> programming model?
> - Do the client pcs need something special to send the mail?

Access to the SMTP server. Is the port open/accessible?
Forgot to deploy any assembly? Without the actual error it's hard to help.

Cheers,
Udo



Re: URGENT * PLEASE - problem when sending mail - C# - Framework 1.1 by Peter

Peter
Tue Jul 22 03:16:49 CDT 2008

I expect the SMTP server you use on your development machine allows your
development machine to send mails, but the server is on a different ISP and
expects a different SMTP server.


Pete


Re: URGENT * PLEASE - problem when sending mail - C# - Framework 1.1 by Patrice

Patrice
Tue Jul 22 04:22:43 CDT 2008

Could be a security issue. By default when code runs from a network share it
doesn't have the same permission than when it runs locally.

I would strongly recommend once again to never post about an error without
saying what is the exact error message (in rare occasion they don't help
much it should be really always your starting point).

--
Patrice

"Férnas" <garbage@wideweb.com.br> a écrit dans le message de groupe de
discussion :
88bea9eb-1523-43dd-98b1-fcffacb3044a@k13g2000hse.googlegroups.com...
> Hey all,
>
> I have a URGENT problem and I hope someone could help me...
>
> scenery:
> I have a windows app, coded using C# (framework 1.1 - VS2003)... The
>
> exe and dlls of the app is are stored in a server, and the clients
>
> access this app through a shortcut that points to this. The folder of
>
> the app is shared on the network. This app accesses a oracle database.
> I'm using system.web.mail namespace..
>
> The users/clients can access the app with no problem, everything ok.
>
> But when I try to send mails, I get an exception...
>
> When I'm debuging the app and running it local, the e-mail is sent,
>
> but when I copy it to the server and access the app through the
>
> network, i get the error...
>
> So here are my question:
>
> - What's the name given to this programming model (user/client
>
> accessing exes on a server)?
> - What are the requirements to accomplish this task according to this
>
> programming model?
> - Do the client pcs need something special to send the mail?
>
> Thanks for your help and sorry for poor english.