This topic is locked
[SOLVED]

 email sending problem

12/9/2013 12:39:34 PM
ASPRunnerPro General questions
G
gonzalosb author

Hi All

i'm having a null result when send email and the email i receive is in blank




DoAssignment record, button.getCurrentRecord()

result("MeetingDate")=record("MeetingDate")

G3= record("Group 3")

G3A= result(replace(G3,",","<p>"))
'Send E-mail

dim tmpDict

set tmpDict = CreateObject("Scripting.Dictionary")

tmpDict("to")="test@test.com"

tmpDict("subject")=result("MeetingDate")

tmpDict("htmlbody")=G3A

tmpDict("charset")="UTF-8"

runner_mail tmpDict

result("txt") = "E-mail were sent"


can someone helpme on this, what i'm doing wrong?

thank you in advance!!!

Sergey Kornilov admin 12/9/2013

The following line doesn't make any sense to me:

G3A= result(replace(G3,",","<p>"))
G
gonzalosb author 12/10/2013

i need to replace "," with "<P>" on the email so i can get as a result a "top to bottom" list instead a line on html:
"," - name,name,name,name
"<P>"

name

name

name

name

G
gonzalosb author 12/11/2013

never mind, i got it.

it works.
now how can i put the fieldname "Group 3" from the page without hardcoding on the email to be use on multiple language?

ex:

g3= fieldname(Group 3)
Group 3

name,name,name,name
or something like that