FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Webdev Mails
Webdev Mails
Débuté par Rafa, 19 déc. 2016 11:49 - 2 réponses
Connectez-vous…
Rafa
#1
Posté le 19 décembre 2016 - 11:49
good morning
I have code to send mail that works well, I use the following system:
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
=
""
But if as a mail message I indicate a string containing html tags, these are not processed and displayed as written. How can I correctly display the body of the html message?
Signaler
0
0
Fabrice Harari
#2
Posté le 19 décembre 2016 - 13:29
Hi Rafa
Just put your html message in oMail..HTML
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 12/19/2016 à 5:49 AM, Rafa a écrit :
good morning
I have code to send mail that works well, I use the following system:
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
=
""
But if as a mail message I indicate a string containing html tags, these
are not processed and displayed as written. How can I correctly display
the body of the html message?
Signaler
0
0
Rafa
#3
Posté le 20 décembre 2016 - 12:24
Thanks Fabrice !
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte