Author |
|
Sabrina Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 21 November 2005 at 10:27am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 21 November 2005 at 12:15pm | IP Logged
|
|
|
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 |
|
|
Sabrina Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 24 November 2005 at 4:17am | IP Logged
|
|
|
Thank you for your help!
It works fine!
Regards, Sabrina
|
Back to Top |
|
|