PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Envio email HTML
Envio email HTML
Started by Eduard Jove, Nov., 28 2008 5:40 PM - 5 replies
Connect yourself…
Eduard Jove
#1
Posted on November, 28 2008 - 5:40 PM
Hola
Estoy enviando emails en modo HTML, es decir tengo un campo RTF donde escriben y pegan fotos.
Al enviar el email las fotos no me las envia pero por pantalla si que estan.
Yo creo q va todo relacionado con la ruta del la foto dentro del html, internamente debe tener que la foto esta en la c:\... pero al enviarlo no lo reconoce o no lo encuentra.
alguna recomendacion?
muchisimas gracias
Report
0
0
pat
#2
Posted on November, 28 2008 - 8:04 PM
Hola Eduard,
Debes utilizar la funcion EmailImportHTML.
EmailImportHTML te permite enviar un mensaje de correo electrónico en formato HTML con imágenes incluidas. La estructura de dirección de correo electrónico utilizada por el actual está lleno hilo: Email.HTML, Email.Attach y Email.NbAttach se inicializan de acuerdo con el contenido HTML.
--
Saludos
pat
http://megustawindev.free.fr
Report
0
0
Eduard Jove
#3
Posted on December, 03 2008 - 12:13 AM
Gracias por la respuesta.
Ya habia probado la funcion pero no me adjuntaba las imagenes.
El problema es que la funcion EmailImporteHTML precisa de un fichero hml y yo tengo un campo rtf.
He intentado crear el fichero hml pero no he podido conseguir adjuntar las imagenes, he creado un campo hml y he paso el rtf al campo hml pero tampoco me adjunta las imagenes
No hay manera
Report
0
0
Eduard Jove
#4
Posted on December, 04 2008 - 8:03 PM
Por lo que veo el "error" lo debo tener al generar el fichero hml.
// Création du fichier
lId = fOuvre(fRepEnCours+"\correu.htm", 0 + foCréation)
SI lId = -1 ALORS
Erreur("No puc crear el fitxer hmtl.")
RETOUR
SINON
sTexteHTML = RTFVersHTML(MISSATGE)
fEcrit(lId, sTexteHTML)
fClose(lId)
sTexteHTML = fChargeTexte(fRepEnCours+"\correu.htm")
EmailImporteHTML(sTexteHTML,fRepEnCours+"\")
FIN
en MISSATGE tengo el codigo RTF con las imagenes insertadas pero creo q al hacer
el sTexteHTML = RTFVersHTML(MISSATGE) es donde pierdo las imagenes.
alguna ayudita?
Report
0
0
Eduard Jove
#5
Posted on December, 10 2008 - 12:22 AM
hay alguna manera de poner un editor de html y no depender de un campo RTF?
Report
0
0
gerardo
#6
Posted on April, 04 2018 - 9:28 PM
Eduard Jove a écrit :
Gracias por la respuesta.
Ya habia probado la funcion pero no me adjuntaba las imagenes.
El problema es que la funcion EmailImporteHTML precisa de un fichero hml y yo tengo un campo rtf.
He intentado crear el fichero hml pero no he podido conseguir adjuntar las imagenes, he creado un campo hml y he paso el rtf al campo hml pero tampoco me adjunta las imagenes
No hay manera
Report
0
0
→ Go back to WINDEV 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