Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: SMTP-Settings in Mailadmin Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Sabrina
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 21 November 2005 at 10:27am | IP Logged Quote Sabrina

Hi!

I would like to save a SMTP-User and SMTP-Password in the webmail settings so that every e-mail of every user is sent with these settings.

Could you please tell me where I can find the send-function in the code, i will programm it by myself then?

Thank you!

Regards, Sabrina
Back to Top View Sabrina's Profile Search for other posts by Sabrina
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 November 2005 at 12:15pm | IP Logged Quote Alex

Yes, you may set your own SMTP settings directly in WebMail Pro source code. To do this, please replace the code below in functions_new.inc.asp (line 371) and functions_redirect.inc.asp (line 130) files:
Code:

If se_smtp_authorisation Then
        Mailer.AuthMethod = 2
        If Len(se_smtp_login) > 0 Then
                 Mailer.UserName = se_smtp_login
        Else
                 Mailer.UserName = se_pop3_login
        End If
        If Len(se_smtp_password) > 0 Then
                 Mailer.Password = XORStr(se_smtp_password)
        Else
                 Mailer.Password = XORStr(se_pop3_password)
        End If
Else
        Mailer.AuthMethod = 0
End If

with the following code:
Code:

Mailer.AuthMethod = 2
Mailer.UserName = "Put your SMTP user name here"
Mailer.Password = "Put your SMTP password here"


Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Sabrina
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 24 November 2005 at 4:17am | IP Logged Quote Sabrina

Thank you for your help!

It works fine!

Regards, Sabrina
Back to Top View Sabrina's Profile Search for other posts by Sabrina
 

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