FSN#37452 Ooit SMTP rechtstreeks via de klantserver: alvast S("puo_smtpusessl") en S("puo_smtpconnectiontimeout") gedefinieerd.
svn path=/Website/trunk/; revision=30305
This commit is contained in:
@@ -47,6 +47,11 @@ function sendMail( p_mailfrom
|
||||
objConf.Fields(sch + "sendusing").Value = S("puo_sendusing"); // 1=cdoSendUsingPickup, 2=cdoSendUsingPort
|
||||
objConf.Fields(sch + "smtpserver").Value = S("puo_smtpserver"); // Wel voor ons IP-adres relay toestaan!
|
||||
objConf.Fields(sch + "smtpserverport").Value = S("puo_smtpserverport"); // default 25
|
||||
objConf.Fields(sch + "smtpconnectiontimeout").Value = S("puo_smtpconnectiontimeout"); // default 30
|
||||
if (S("puo_smtpusessl"))
|
||||
{
|
||||
objConf.Fields(sch + "smtpusessl").Value = true;
|
||||
}
|
||||
objConf.Fields(sch + "smtpauthenticate").Value = S("puo_smtpauthenticate"); // default 0=cdoAnonymous, 1=cdoBasic, 2=cdoNTLM
|
||||
if (S("puo_smtpauthenticate") == 1)
|
||||
{
|
||||
@@ -83,7 +88,7 @@ function sendMail( p_mailfrom
|
||||
|
||||
if (!p_mailto || !MailSender)
|
||||
{
|
||||
Log2File(1, "Notification email not sent...");
|
||||
Log2File(1, "Email not sent.because from or to is empty.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user