Forum

[SOLVED] Mail subje...
 
Notifications
Retirer tout

[SOLVED] Mail subject and special fields

6 Posts
2 Utilisateurs
0 Reactions
3,679 Vu
 CEKA
(@ceka44)
Posts: 14
Eminent Member
Début du sujet
 
[#2900]

Hello,

I tried to change a little bit the subject of some messages.

If i have this subject, i can send the mail
[${dbName}] message from ${sender} : ${item} #${id} : ${name}

But if i have this subject, i have always an error when i want to send the mail
[${dbName}] message from ${sender} : ${project} - ${name} : ${item} #${id}

What is wrong in the construction ?


 
Posté : 12/01/2016 9:03 pm
(@babynus)
Posts: 14952
Membre Admin
 

Check for errors in log file.


 
Posté : 12/01/2016 9:06 pm
 CEKA
(@ceka44)
Posts: 14
Eminent Member
Début du sujet
 

I have only this in the error log file when there is an error

2016-01-12 18:53:28.856 ** ERROR ** Error sending mail
2016-01-12 18:53:28.868 ** ERROR ** SMTP Server : ssl0.ovh.net
2016-01-12 18:53:28.869 ** ERROR ** SMTP Port : 465
2016-01-12 18:53:28.870 ** ERROR ** Mail stored in Database : #63
2016-01-12 18:53:28.870 ** ERROR ** PHPMail error : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2016-01-12 18:53:28.870 ** ERROR ** PHPMail debug :

Is there a way to solve this kind of issue ?


 
Posté : 12/01/2016 9:19 pm
(@babynus)
Posts: 14952
Membre Admin
 

Issue does not seem to depend on email subject.
Issue is "SMTP connect() failed".

Could you try and remove the ${project} field ?
If is works this way, possibly project name contains some characters that sets a mess. Could you then indicate project name ?


 
Posté : 12/01/2016 9:34 pm
 CEKA
(@ceka44)
Posts: 14
Eminent Member
Début du sujet
 

Link to the sendMail problem.


 
Posté : 13/01/2016 7:24 pm
(@babynus)
Posts: 14952
Membre Admin
 

Request recorded as Ticket #1926


 
Posté : 13/01/2016 7:31 pm
Share:
Retour en haut