Hi all, This is a very old case. Has this problem been solved. Many thanks
Regards, Anton --- In development-axapta@yahoogroups.com, "Christoph Malherbe" <christoph.malhe...@...> wrote: > > Hi Pascal, > > Thank you for taking time to respond. > > I tried your suggestion, but still no luck. > > Thanks > ------------------------------------------------------------------------ > > Hi Christoph, > > > > > > > > Have you already tried this? : > > > > > > > > messageBody = messageBody + strFmt("%1%2", > > "user:cdlmalherbe", > > num2char(10)); ? > > > > > > > > or > > > > > > > > messageBody = messageBody + strFmt("%1%2", > > "user:cdlmalherbe", '/n'); ? > > > > > > > > > > > > with kind regards, > > > > > > > > Pascal > > > > > > > > http://www.axapta-links.com - The startpage > > for Axapta ! > > > > > > > > > > > > > > > > > > > > > > > > > > > > _____ > > > > Van: development-axapta@yahoogroups.com > > [mailto:development-axa...@yahoogroups.com] Namens cdlmalherbe01 > > Verzonden: woensdag 24 augustus 2005 18:37 > > Aan: development-axapta@yahoogroups.com > > Onderwerp: [development-axapta] Carriage Return in SysMailer body > > > > > > > > Hi all, > > > > I used to send email notifications using sqlmail but adapted some > > code found on this forum to great effect.(thanks a lot!) > > > > The challenge is to have each "line" in messageBody appear as a > > separate row in the email's body section when it arrives at the > > intended recipient. > > > > Suffixing "num2char(13)+num2char(10)" doesn't seem to work(it > > does > > work when writing out to a file). > > > > Neither \r nor \n seems to work. > > > > Any suggestions will be much appreciated! > > > > Regards, > > > > Christoph Malherbe > > > > *************** code segment ******************** > > static void SendMail(Args _args) > > { > > SysEMailBatch mailer; > > str messageBody = ''; > > str cRLF=num2char(13)+num2char(10); > > ; > > messageBody = 'api_id:805399' + cRLF; > > messageBody = messageBody + 'user:cdlmalherbe' + cRLF; > > messageBody = messageBody + 'password:xxxx' + cRLF; > > messageBody = messageBody + 'to:t...@...' + cRLF; > > messageBody = messageBody + 'text:test email + cRLF; > > > > mailer = SysEmailBatch::construct(); > > > > mailer.parmEmailAddr("recipi...@..."); > > > > mailer.parmMessageBody(MessageBody); > > > > mailer.parmSenderAddr("sen...@..."); > > > > mailer.run(); > > > > } > > > > > > > > > > > > > > > > _____ > > > > YAHOO! GROUPS LINKS > > > > > > > > * Visit your group "development-axapta > > " on the web. > > > > * To unsubscribe from this group, send an email to: > > development-axapta-unsubscr...@yahoogroups.com > > > > > > * Your use of Yahoo! Groups is subject to the Yahoo! > > Terms of Service. > > > > > > > > _____ > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > SPONSORED LINKS > > Computer part Programming > > languages Microsoft axapta > > > > Support exchange > > YAHOO! GROUPS LINKS > > Visit your group "development-axapta" on the web. > > To unsubscribe from this group, send an email to: > > development-axapta-unsubscr...@yahoogroups.com > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > > Regards, > > Christoph Malherbe > Solutions Architect > xpedia consulting (pty) ltd > office: +27 (0) 12 667 2970 > fax: +27 (0) 12 667 2973 > mobile: +27 (0) 82 805 0776 >