 |
|
|
 |
|
 |
Hi there,
I know zip about email so forgive me for not knowing this. Can I send an email from a Windows forms app without IIS, without a service running?
I want to literally package up all the creation and sending of emails into the .NET application alone with no external dependencies.
If not, whats the minimum services I need to install on a users machine to be able to send email?
Thank you!!
|
|
|
|
 |
|
 |
Hi,
You dont need server for sending emails, you need smtp client.
|
|
|
|
 |
|
 |
Good morning! ANd thanks for your quick reply
Ok so I tried an SmptClient, however I get "connection refused". Apparently I need some server to relay the emails from the client. Some suggest using IIS however this is not a web application, I don't want to install this with IIS on a users PC - it needs to be as lightweight as possible!
Is there any solution in .NET or must I connect to a remote Smpt Server to relay the emails?
Cheers!
|
|
|
|
 |
|
 |
Any smtp client can connecto to any relay server, normally you should connect to your ISP smtp server.
|
|
|
|
 |
|
 |
my network use proxy server how can i set proxy setting in this mail server or lumisoft net package ? excuse my my bad english best regards
|
|
|
|
 |
|
 |
Hi,
about what proxy do you talkigg about ?
SMTP ??? If so set relay destination as smart host and type proxy IP into it.
|
|
|
|
 |
|
 |
yes for SMTP and pop3 ! there is a sample code to use that?
|
|
|
|
 |
|
 |
I dont see why pop3 proxy needed ?
|
|
|
|
 |
|
 |
Excuse me now I explaining that. When I wanna connect to internet from internet explorer using this connection setting Proxy server "Ticked" Use a proxy server to connect for your LAN(...) address :10.10.0.1 port:3128 "Ticked" Bypass proxy server for local address Now I wanna Know how can use this setting to send email with smtp when I dont use that I take this error "No such host is known " best ragards Ivar Lumi
|
|
|
|
 |
|
 |
Excuse me now I explaining that. When I wanna connect to internet from internet explorer using this connection setting Proxy server "Ticked" Use a proxy server to connect for your LAN(...) address :10.10.0.1 port:3128 "Ticked" Bypass proxy server for local address Now I wanna Know how can use this setting to send email with smtp when I dont use that I take this error "No such host is known " best ragards to Ivar Lumi
|
|
|
|
 |
|
 |
Hi,
I almost sure that "Use a proxy server to connect for your LAN" allows you to specifiy HTTP,FTP proxies only.
|
|
|
|
 |
|
 |
dear lumi I use this component and with this code I send email can u add this future to lumisoft.net.smtp that we can send email with proxy
http://www.emailarchitect.net/webapp/download/easendmail.exe
SmtpServer s = new SmtpServer("smtp.gawab.com",25); s.User = "user@gawab.com"; s.Password = "user"; s.ProxyProtocol = EASendMail.SocksProxyProtocol.Http; s.SocksProxyServer = "10.10.0.1"; s.SocksProxyPort = 3128; s.SocksProxyUser = "user"; s.SocksProxyPassword = "password"; SmtpClient smtpClient = new SmtpClient(); SmtpMail oMail = new SmtpMail("TryIt"); oMail.Reset(); oMail.From = "soorani@gawab.com"; oMail.To = "soorani@gmail.com"; oMail.Subject = "utf-8 test"; oMail.Charset = "utf-8"; oMail.HtmlBody = "hello"; smtpClient.SendMail(s, oMail);
king regards
|
|
|
|
 |
|
 |
dear lumi I use this component and with this code I send email can u add this future to lumisoft.net.smtp that we can send email with proxy
http://www.emailarchitect.net/webapp/download/easendmail.exe
SmtpServer s = new SmtpServer("smtp.gawab.com",25); s.User = "user@gawab.com"; s.Password = "user"; s.ProxyProtocol = EASendMail.SocksProxyProtocol.Http; s.SocksProxyServer = "10.10.0.1"; s.SocksProxyPort = 3128; s.SocksProxyUser = "user"; s.SocksProxyPassword = "password"; SmtpClient smtpClient = new SmtpClient(); SmtpMail oMail = new SmtpMail("TryIt"); oMail.Reset(); oMail.From = "soorani@gawab.com"; oMail.To = "soorani@gmail.com"; oMail.Subject = "utf-8 test"; oMail.Charset = "utf-8"; oMail.HtmlBody = "hello"; smtpClient.SendMail(s, oMail);
king regards
|
|
|
|
 |
|
 |
I suspect that in case of SMTP such apporach not widely used. Why need to proxy it when SMTP outgoing server used instead.
<-----> <-- internet -----> computer1 ----> SMTP outgoing server -------> target SMTP server
|
|
|
|
 |
|
 |
Hello ivar, when i send mail using webmail i got following error 550 Authentication is required for relay How can i provide username and password for connecting to smtp server using smtp client
|
|
|
|
 |
|
 |
Currently just give relay access to webmail computer IP.
|
|
|
|
 |
|
 |
Hi,
I was wondering if you could tell where in the code I can change the default listen port of 25 to another one? I want to see if I can use this MailServer to setup multiples instances of it to listen on a number of different ports.
Thanks
|
|
|
|
 |
|
 |
Hi,
Yes you can do it. Just add virtual servers, change ports(in binding tab of the specified service) in each services so that they doesnt conflict.
Also i suggest you to use latest devel version(0.93), that most feature complete.
|
|
|
|
 |
|
 |
Hi Ivar,
Thanks for the prompt reply. So the same service can run 1 or virtual servers? Are each of these virtual servers running in a seperate thread? If I wanted to have 10 seperate listeners on one server, should I have 10 instances of LumiSoft MailServer service or 1 instance with 10 virtual servers defined?
Thanks
Jinxter
|
|
|
|
 |
|
 |
Same service can run X count virtual server. All virtual servers running on their own thread and sessions share thread pool threads.
10 instances ..
1) Running all in 1 virtual server (no physical domain separation), just add all binding in 1 virtual server. 2) Running each domain on its own virtual server, add only specified domain bindings.
|
|
|
|
 |
|
 |
Hi there, I love your suite of stuff, it's excellent
I see that the search command isn't implimented, so I implimented my own that just accepts an IMAP search command which works well, but I'm having problems with the above search.
My understanding is that the above should return a list of UIDs that are not deleted and have a UID >= 100.
But it returns all uids.
If I change 100 to 0, I get nothing other than search completed successfully.
What am I doing wrong with my search criteria? It's like doing a range search isn't even ever used, I can't find anything on the net on how to do this properly.
Thanks!
|
|
|
|
 |
|
|
 |
|
 |
Thanks! I figured it out that i didn't need the UID part before the sequence.
BTW, is there any support for IMAP IDLE command? I'd love to do push email with this.
Thanks!
|
|
|
|
 |
|
 |
IMAP IDEL, not yet, probably IMAP server needs total rewrite.
|
|
|
|
 |