on 11-15-2007 11:11 AM
Hi All,
I have developed a Web Dynpro application through which a mail needs to be sent to the user. The mail is supposed to have html content. The html content should contain a image. I am unable to figure out where to place the image in the Web Dynpro project and what should be path.
Plz let me know your inputs.
Regards
Nikhil Bansal
Hi,
You should place the image inside your project folder. Inside that go to src>mimes>components>your package. here you have to paste your images.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I guess you did not understand my ques.
I am writing html code in one method in custom controller. This method will send mail to a user.
Now this method contains the html code
<html>
<head>
<body>
<table>
<tr><td><img src=>
Now I want to include an image over here and not in the Image property of any view.
Let me know where should I place the image and what should be the path.
Regards
Nikhil
Hi ,
I guess you did not understand my ques. I am writing html code in one method in custom controller. This method will send mail to a user. Now this method contains the html code <html> <head> <body> <table> <tr><td> Now I want to include an image over here and not in the Image property of any view. Let me know where should I place the image and what should be the path.
Regards
Nikhil
Hi Armin,
Yes I got you.
However, I am unale to figure out how to achieve this.
The mail is being sent from a Web dynpro application to the SMTP Server which delivers it to the user.
Now do I need to place the image on the mail server or somewhere else.
Shall be grateful if you can throw some more light on this.
Regards
Nikhil
Hi,
Switch to Navigator view
Expand the project structure
Place your image under the folder src>mimes>components.
and access it just by specifying the name.
Ex: If your image name is "test.gif".
access it as "test.gif" with out any additional path.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.