Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2007, 01:55 PM
Registered User
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sending mail with image content

I have been trying to send an email with image content attached to the mail message. I need help in this scenario to get it done. Can anyone help?
Pls i need urgent response.

 
Old February 8th, 2007, 10:36 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are you looking to ATTACH or EMBED the image? Attaching is just a matter of adding the attachment files to the mail message object. Embedding is different, I don't know how to do that.

-Peter
 
Old February 8th, 2007, 10:42 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

As far as Embedding images go, the email has to be setup as an HTML email and, as far as i know, you can only use Absolute URLs to the images you wish to place in the body of the email.

In 2.0 you have the ability to use a LinkedResource and physically embed an image into a Mail object.

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
 
Old February 13th, 2007, 12:12 PM
Registered User
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

okay, I will not mind to listen to the step.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing mail content with CDONTS sunile-zest Classic ASP Basics 1 July 10th, 2007 02:22 PM
problems sending mail with java mail gandacuboy J2EE 2 December 20th, 2006 03:05 PM
E-mail the page content gokul_blr HTML Code Clinic 3 October 1st, 2004 04:20 AM
Sending e-mail to different mail box! Calibus Classic ASP Databases 4 September 3rd, 2004 05:48 PM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.