Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: SMTP Login Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
JulianB
Newbie
Newbie


Joined: 28 April 2008
Location: Germany
Online Status: Offline
Posts: 4
Posted: 28 April 2008 at 6:30am | IP Logged Quote JulianB

hello everybody,

i have a problem when sending mails whith our online smtp server.

like someone mentioned in a thread before pop3 requires <account@domain>, but smtp requires just <account>.

the files mentioned in the other thread do not exist in my version.

currently using latest webmail lite version (4.1.11).

so if you could post me which files i need to modify so that pop/smtp matches the requirements of our server i would be very thankful

greetings
julian beckmann
Back to Top View JulianB's Profile Search for other posts by JulianB
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 28 April 2008 at 7:21am | IP Logged Quote Andrew

Instructions for ASP.NET version of WebMail Lite 4.1 are the following.

1. You should modify App_Code/Smtp.cs file, the beginning of SendMail method (below the line 22). Add the following code:

Code:
int atPos = account.MailIncomingLogin.IndexOf('@');
account.MailIncomingLogin = account.MailIncomingLogin.Substring(0, atPos);


2. Re-compile the application.

3. Use full e-mail address as username for logging into your mailbox.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
JulianB
Newbie
Newbie


Joined: 28 April 2008
Location: Germany
Online Status: Offline
Posts: 4
Posted: 28 April 2008 at 8:45am | IP Logged Quote JulianB

thanks andrew for your quick reply.

but it seems not to work.
might that i do not recompile the application correct.

1. i run iisreset in the cmd box
2. i delete the files in "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files"
3. i revisit the webmailer page

event log on the smtp server still says that it cant log in <account@domain> instead of <account>.

server.AccountName = ((...));

is the line for login information?

is there a way to print a message to the frontend? like:

throw new WebMailMailBeeException(server.AccountName);

so that i can see what the current AccountName
is?

greetings,
julian beckmann
Back to Top View JulianB's Profile Search for other posts by JulianB
 
JulianB
Newbie
Newbie


Joined: 28 April 2008
Location: Germany
Online Status: Offline
Posts: 4
Posted: 28 April 2008 at 8:52am | IP Logged Quote JulianB

because i can not edit,
maybe you could add 2 drop down boxes in the mail admin interface and on the extended login like:

pop account uses:
o email
o username

stmp account uses:
o same as pop
o email
o username

greeting
julian beckmann
Back to Top View JulianB's Profile Search for other posts by JulianB
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 April 2008 at 3:14am | IP Logged Quote Andrew

We've applied the above change to the original version of WebMail Lite ASP.NET and recompiled it for you. You can download it here.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
JulianB
Newbie
Newbie


Joined: 28 April 2008
Location: Germany
Online Status: Offline
Posts: 4
Posted: 29 April 2008 at 5:26am | IP Logged Quote JulianB

hello,

thank you for re-compiling the application.
it works now.

which tool do you use for re-compile?

the aspnet_compiler.exe?

grettings,
julian beckmann
Back to Top View JulianB's Profile Search for other posts by JulianB
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 April 2008 at 5:55am | IP Logged Quote Andrew

We use MS Visual Studio 2005 SP1.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide