Home AMX User Forum AMX General Discussion
Options

SMTP_SEND odd characters

I have managed to implement the internal SMTP functions with some success. There is, however, an odd thing happening with the email content string.

If I use a line like this

SMTP_SEND(dvMAIL_SERVICE, cToAddress, 'Test Mail', 'Test Email Sent', Null_STR)

sometimes it returns fine and other times it adds characters onto the end like this -

Test Email Sentld) i)T

I am guessing this is because I haven't explicitly set the length of the constant - even though I have hard coded it into the function?

Any help appreciated!

Simon
Sign In or Register to comment.