PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Email Webdev
Email Webdev
Started by Rafa, Dec., 19 2016 11:42 AM - 2 replies
Connect yourself…
Rafa
#1
Posted on December, 19 2016 - 11:42 AM
Buenos dias
Tengo codigo para enviar correos que funciona bien, utilizo el siguiente sistema:
oSessionSMTP is
EmailSMTPSession
oSessionSMTP
..
ServerAddress
=
""
oSessionSMTP
..
Name
=
""
oSessionSMTP
..
Password
=
""
oSessionSMTP
..
Port
=
""
oSessionSMTP
..
Option
=
""
oMail is
Email
oMail
..
SenderAddress
=
""
oMail
..
Sender
=
""
oMail.Subject
=
""
oMail
..
Bcc
[
1
]
=
""
oMail.Recipient
=
""
oMail
..
Message
=
""
Pero si como mensaje del correo le indico un string que contenga etiquetas html, estas no se procesan y se muestran tal y como estan escritas. ¿Como puedo mostrar correctamente el cuerpo del mensaje html?
Report
0
0
Victor Hugo Pereyra
#2
Posted on December, 19 2016 - 1:15 PM
Hola Rafa
Te falta poner lo siguiente
oMail.HTML = ---> Aqui va el html
Espero que te sirva
saludos
victor
"Rafa" escribió en el mensaje de
noticias:2016543de295a90ae8fa63e67e19ff778a0b@news.pcsoft.fr...
Buenos dias
Tengo codigo para enviar correos que funciona bien, utilizo el siguiente
sistema:
oSessionSMTP
is
EmailSMTPSession
oSessionSMTP
..
ServerAddress
=
""
oSessionSMTP
..
Name
=
""
oSessionSMTP
..
Password
=
""
oSessionSMTP
..
Port
=
""
oSessionSMTP
..
Option
=
""
oMail
is
Email
oMail
..
SenderAddress
=
""
oMail
..
Sender
=
""
oMail.Subject
=
""
oMail
..
Bcc
[
1
] =
""
oMail.Recipient
=
""
oMail
..
Message
=
""
Pero si como mensaje del correo le indico un string que contenga etiquetas
html, estas no se procesan y se muestran tal y como estan escritas. ¿Como
puedo mostrar correctamente el cuerpo del mensaje html?
Report
0
0
Rafa
#3
Posted on December, 20 2016 - 12:24 PM
Gracias Victor !
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text