admin 12/5/2018 | |
Show us your exact code that sends the email. |
P
|
PaulM author 12/5/2018 |
Show us your exact code that sends the email.
|
admin 12/5/2018 | |
The whole code in that event. |
P
|
PaulM author 12/6/2018 |
The whole code in that event.
|
admin 12/6/2018 | |
You use .= concatenation operator everytime meaning that you make your message longer and longer. $msg.= "A maintenance Request has been received and needs your authorisation to continue: \n\n\n";
$msg= "A maintenance Request has been received and needs your authorisation to continue: \n\n\n"; |
P
|
PaulM author 12/6/2018 |
You use .= concatenation operator everytime meaning that you make your message longer and longer. Instead of $msg.= "A maintenance Request has been received and needs your authorisation to continue: \n\n\n";
$msg= "A maintenance Request has been received and needs your authorisation to continue: \n\n\n";
|
P
|
PaulM author 12/6/2018 |
Thanks Sergey, I'll give it a try
|
admin 12/6/2018 | |
You need to explain what "the rest of it stays the same and isn't reset" means? |
P
|
PaulM author 12/7/2018 |
No matter what the output should be, I get the following except the value which changes correctly and the 'Agent' which also changes. The address should change and the request but it always stays the same. |
F
|
fpilot 12/30/2018 |
Sergey, I have also an issue with the attachment thru email, without attachment it works fine.pls see below: \n\n";//"" . $data['EmailMessage'] . "\n-----------\n\n"; "; Regards |
admin 12/30/2018 | |
Telling why email with attachment doesn't work by just looking at your code is not possible. |