logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

WebMail
VegaD
#1 Posted : Saturday, July 25, 2009 10:33:05 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 7/25/2009(UTC)
Posts: 6
Points: 18
Location: US

Hi, I was on the hunt for a good .NET WebMail Client. I saw a post for your mail server app on codeproject and thought, 'If this much work was done on a Mail Server, then he might also have a Web Client. Sure enough you did.

On my first install it connected right to my hMailServer and had no issues finding the SQL DB.
I like the very clean UI and would like to get it fully operational.
When retrieving a mail list from the server it was getting an error.
The error seemed to be inside the IMAP_Envelope object.

I grabbed a copy of your source for the Net library to track down the error and discovered the source for the library is much newer that the library that was used to write the WebMail app.

Question: Do you have a working copy of WebMail that functions with the latest Net library?
If so, Where might I find it? (I am working with the zip named 'latest'.)
If not, I will continue to debug and resolve the differences. (If this ends up being the best route for me, would you like an updated version when finished?)

Thanks so much.
ivx
#2 Posted : Saturday, July 25, 2009 6:11:44 PM(UTC)
Rank: Administration

Groups: Administration
Joined: 9/15/2006(UTC)
Posts: 1,946
Points: 5,711
Man
Location: Estonia

Was thanked: 68 time(s) in 68 post(s)
Hi,

>Question: Do you have a working copy of WebMail that functions with the latest Net library?
Sorry no, webmail is pretty old.


>If not, I will continue to debug and resolve the differences. (If this ends up being the best route for me, would you like an updated version when finished?)
That would be nice.
VegaD
#3 Posted : Sunday, July 26, 2009 8:27:37 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 7/25/2009(UTC)
Posts: 6
Points: 18
Location: US

I am making progess on the transition to the new library.

2 things so far.
1) If I try to compile the webmail project i get compile errors that DO NOT result in runtime errors.
menu_contacts.aspx has this kind of code
if(text == ""){
alert("<% Response.Write(m_WTxt["74"]); /*No Open Person*/ %>!!!");
}
This is a clever trick to get the message box content to be dynamic with code that would never compile in .Net.

Do you have any recommendations for other approaches that would compile and produce the same result?

2) I have been unsuccesful in sending mail so far.

With :::
SmtpClientEx.QuickSendSmartHost(Application["SMTPServer"].ToString(),25,"",Application["SMTPServerUserName"].ToString(),Application["SMTPServerPassword"].ToString(),m);

Result is 'Authentication isn't supported.' even after I included a valid username and password.

Authentication isn't supported. ---- at LumiSoft.Net.SMTP.Client.SmtpClientEx.Authenticate(String userName, String password) at LumiSoft.Net.SMTP.Client.SmtpClientEx.QuickSendSmartHost(String smartHost, Int32 port, Boolean ssl, String hostName, String userName, String password, String from, String[] to, Stream messageStream) at LumiSoft.Net.SMTP.Client.SmtpClientEx.QuickSendSmartHost(String smartHost, Int32 port, Boolean ssl, String hostName, String userName, String password, Mime message) at LumiSoft.Net.SMTP.Client.SmtpClientEx.QuickSendSmartHost(String smartHost, Int32 port, String hostName, String userName, String password, Mime message) at ASP.compose_aspx.SendMail() in e:\InetPub\WebMail\WebMail\compose.aspx:line 153

With :::
SmtpClientEx.QuickSendSmartHost(Application["SMTPServer"].ToString(), 25, "mail.mydomain.com", m);

Result is 'Unable to relay'.

550 5.7.1 Unable to relay for test2@mydomain.com ---- at LumiSoft.Net.SMTP.Client.SmtpClientEx.AddRecipient(String recipientEmail) at LumiSoft.Net.SMTP.Client.SmtpClientEx.QuickSendSmartHost(String smartHost, Int32 port, Boolean ssl, String hostName, String userName, String password, String from, String[] to, Stream messageStream) at LumiSoft.Net.SMTP.Client.SmtpClientEx.QuickSendSmartHost(String smartHost, Int32 port, Boolean ssl, String hostName, String userName, String password, Mime message) at LumiSoft.Net.SMTP.Client.SmtpClientEx.QuickSendSmartHost(String smartHost, Int32 port, String hostName, Mime message) at ASP.compose_aspx.SendMail() in d:\LumisoftWebMail\WebMail\compose.aspx:line 153

On the server I am requiring authentication - so the unable to relay message makes sense. But after including the username and password the 'Authentication isn't supported doesn't make sense.

Any clues on this? Am I using the correct methods from the library?

Thanks,
Richard
ivx
#4 Posted : Sunday, July 26, 2009 11:33:05 AM(UTC)
Rank: Administration

Groups: Administration
Joined: 9/15/2006(UTC)
Posts: 1,946
Points: 5,711
Man
Location: Estonia

Was thanked: 68 time(s) in 68 post(s)

>alert("<% Response.Write(m_WTxt["74"]); /*No Open Person*/ %>!!!");
What is compile error ?


>2) I have been unsuccesful in sending mail so far.
Use SMTP_Client class instead, and username must be null, if server doesn't need/support authentication.
VegaD
#5 Posted : Friday, July 31, 2009 2:42:03 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 7/25/2009(UTC)
Posts: 6
Points: 18
Location: US

Hello,
I have the webmail app up and running now.

My old Email Server took a short dive off the deep end and we had to quickly move from dev to prod with the work.
As a result, there is more I want to do;
1) Make it so line breaks are not lost in the sent message. Any advice on this would be appreciated.
2) Add paging to the message list.
3) Make it possible for the user to adjust the height of the preview pane.
4) Cause the nested IMAP folders to always dispay in a tree rather than name.name format.
5) Cause the Title and Logo to change based on the domain name in the URL.

I will be migrating the project to VS2008 next and making the UI AJAX driven.

I really appreciate all the work you did. It gave me a huge head start.

Thanks,
Richard

Check it out at: http://mail.vegadiscoveries.com

The work to-date can be downloaded from:
http://www.vegadiscoveri...k_06-30-2009_By_RWH.zip

VegaD
#6 Posted : Sunday, October 04, 2009 8:56:35 PM(UTC)
Rank: Newbie

Groups: Member
Joined: 7/25/2009(UTC)
Posts: 6
Points: 18
Location: US

Update on webmail work.
Items 1 and 5 from my previous list are complete. (Line Breaks and dynamic domain)

I have completed implementation of mutliple language support using the Wisk library.

Clicking on a flag will change the language and the selected language is saved with the user profile.

Two new menu items have been added: Password and Admin.

The Admin icon is only visible if you are and admin in the mail system.

The user can now retrieve or change their password from inside the app.


The password can be retrieved in an email.


The Folder List has been modified to show the number of messages and number of unread messages in each folder.

This shows me I have 148 unread messages in my trash folder.

A Welcome message has been added to the top of the message list.

This helps me in my old age to not have to remember who I logged in as!!!!!!

Contact Data has been expanded to store more data.

The send email will work with 1) Nick Name 2) First Name [sp] Last Name 3) Email Address


Those are the Highlights - I expect I don't remember everything. (That memory thing associated with age again!!!!)

ivx
#7 Posted : Sunday, October 04, 2009 11:16:36 PM(UTC)
Rank: Administration

Groups: Administration
Joined: 9/15/2006(UTC)
Posts: 1,946
Points: 5,711
Man
Location: Estonia

Was thanked: 68 time(s) in 68 post(s)
Hi,

There is new beta version of new IMAP client.

http://www.lumisoft.ee/l...oad/downloads/Examples/
IMAP_app zip file demos new IMAP.

Though final version will be on next week, the all class names final - some probably will change.

ab-tools
#8 Posted : Wednesday, February 03, 2010 1:13:33 PM(UTC)
Rank: Newbie

Groups: Member
Joined: 2/3/2010(UTC)
Posts: 1
Points: 3

Hello VegaD,

your webmail solution looks great now:
may I have a current version of it?

Thank you very much in advance
Andreas
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.098 seconds.