You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by opalo <el...@yahoo.es> on 2008/03/31 13:46:31 UTC

Embebed image in my html e-mail as an attachment

Hi all.
I'm developing a velocity template for a e-mail with an image that i want to
be sent as an attachment.
I've checked that attaching an image is quite easy. The e-mail is received
with the image as an attachment.
But my problem is wich path i have to write in the src of the   in my
velocity template in order to see the image correctly an not only as an
attachment file.
Thanks in advance.

-- 
View this message in context: http://www.nabble.com/Embebed-image-in-my-html-e-mail-as-an-attachment-tp16395922p16395922.html
Sent from the Velocity - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Embebed image in my html e-mail as an attachment

Posted by opalo <el...@yahoo.es>.
Hi Michiel.
Thanks for your reply.
I'll have a look right now.




Michiel Toneman-2 wrote:
> 
> Have a look at the commons-email package (
> http://commons.apache.org/email/userguide.html ). We're using Velocity
> with it to send HTML emails with embedded images.
> 
> Make sure you use at least version 1.1 because version 1.0 does not
> format the HTML email properly!
> 
> Regards,
> 
> Michiel
> 
> On Mon, Mar 31, 2008 at 1:46 PM, opalo <el...@yahoo.es> wrote:
>>
>>  Hi all.
>>  I'm developing a velocity template for a e-mail with an image that i
>> want to
>>  be sent as an attachment.
>>  I've checked that attaching an image is quite easy. The e-mail is
>> received
>>  with the image as an attachment.
>>  But my problem is wich path i have to write in the src of the   in my
>>  velocity template in order to see the image correctly an not only as an
>>  attachment file.
>>  Thanks in advance.
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/Embebed-image-in-my-html-e-mail-as-an-attachment-tp16395922p16395922.html
>>  Sent from the Velocity - Dev mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
>>  For additional commands, e-mail: dev-help@velocity.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
> For additional commands, e-mail: dev-help@velocity.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Embebed-image-in-my-html-e-mail-as-an-attachment-tp16395922p16415824.html
Sent from the Velocity - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Re: Embebed image in my html e-mail as an attachment

Posted by Michiel Toneman <mi...@kopz.org>.
Have a look at the commons-email package (
http://commons.apache.org/email/userguide.html ). We're using Velocity
with it to send HTML emails with embedded images.

Make sure you use at least version 1.1 because version 1.0 does not
format the HTML email properly!

Regards,

Michiel

On Mon, Mar 31, 2008 at 1:46 PM, opalo <el...@yahoo.es> wrote:
>
>  Hi all.
>  I'm developing a velocity template for a e-mail with an image that i want to
>  be sent as an attachment.
>  I've checked that attaching an image is quite easy. The e-mail is received
>  with the image as an attachment.
>  But my problem is wich path i have to write in the src of the   in my
>  velocity template in order to see the image correctly an not only as an
>  attachment file.
>  Thanks in advance.
>
>  --
>  View this message in context: http://www.nabble.com/Embebed-image-in-my-html-e-mail-as-an-attachment-tp16395922p16395922.html
>  Sent from the Velocity - Dev mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
>  For additional commands, e-mail: dev-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org