Forum Discussion
Are you using a CDO message to send the email?
Can you post your function that compiles and sends the message, a sample of your tmp file that experiences the issue, and whatever function writes the tmp file?
- m_essaid11 years agoValued Contributor
Hi Ryan,
Yes I'm using CDO Messages.
A part of the temp file :
<p>
<FONT face="calibri">example of text</FONT><BR />
<FONT face="calibri" color="green"><B>example of successful test.</B></FONT>
<p>I debugged the tmp file when it is sent to the SendMail function. There is no exclamation mark.
The path of the link is specified like this in the procedure that calls SendMail function :
if SendEmail('sender',
'receiver',
'Tests',
LireCorpsMail() +
'<P><FONT face="calibri"><a href="W:\SCENARIOS_TEST\TESTS_COMPTA\RapportCompta' + Suffixe + '.mht">Cliquez ici pour lire le rapport.</a></FONT></p><P>' + MsgErreur + '</p>',
'') then
Log.Message('Message sent.');LireCorpsMail is just a method that reads the temp file.
When I debug this call of the SendMail function there is no exclamation mark.
When I receive the mail, there is one in the middle of a link, in example : 12_03_! 2015
Thanks for your patience,
Mehdi
- Ryan_Moran11 years agoValued Contributor
[Edit]
Scratch that last reply. Didn't notice you're using the built in SendEmail function.
This seems more like the issue you're seeing:
You likely need to have embedded line breaks as suggested by that link. I.E. "\r\n"
- Ryan_Moran11 years agoValued Contributor
Possibly this variable MsgErreur exceeds 1024 characters.