Problem in Sending image in Email Notification

Hi All,
In our implementation we have to send customer logo in each email notification.
We have SIM 7.1 deployed on SUN JES Application server 8.2.
I tried to send the image using two ways but nothing got succeed.
1) Using <IMG src"http<machine name>:<port number>/idm/images/<image name>"/>
2) Deployed another trial.war file having only image folder and then using <IMG src"http<machine name>:<port number>/trial/images/<image name>"/>
Where "machine name", "port number" and "image name" have suggestive values as per our environment.
But i am not able to send the image. however second options works well with Tomcat.
If anybody has any prior experience or some idea please share. it will really be helpful for us.

Hi all,
Its done.
Actually there is some issue related with the intranet (may be they are blocking the image to get diaplayed) as its working for gmail and all.
Thanks

Similar Messages

  • Problem in sending images in Email

    Hi,
         I am unable to send images in Email.
    My template jsp is as :-
    <img src='<%=getServletContext().getRealPath("/images/logo.jpg")'%>
    In Email its not displaying .
    Please help..
    Thanks

    <img src='<%=getServletContext().getRealPath("/images/logo.jpg")'%>
    Above code is not displaying image coz when browser is rendering email content, It's expecting logo.jps to be present in image directory relative to browser temporary folder, Which is not..
    If u wan to display image in mail, U have two options:
    Either attach image in mail as suggested by Prateek.
    Make Image url a absolute url.
    Usually Sites send email with absolute ur, When u read email, ur browser gets the image and render the content along with image.
    Thanks,
    Nitin.

  • How to send an automated email notification after dataloads complete.

    Please search the forums before posting
    Hi ,
    Hoq can we send an automated email notification once the daily data loads are complete.
    All the data loads are done through PC and after these got complete daily we need to send an automated e mail saying the loads are completed.
    Request your replies.
    Edited by: Arun Varadarajan on Mar 10, 2009 9:22 AM

    Hi,
    check this threads/links:
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/9bdd42cadf2878e10000000a155106/frameset.htm
    Process chains and Email alerts?
    process chain Email Notification
    E-mailing functionality on a process chain
    If you search SDN you will find much more...
    Regards
    Andreas

  • A workflow is sending the same email notification twice

    A workflow is sending the same email notification twice. Not every notification, but this happening only a few times randomly.  The double sent emails are arriving together , have the same date and time.
    I've checked the workflow and found that there is no double sending command in the workflow, and the workflow history also shows just 1 run and 1 email sending.
    Can somebody help me on this.

    Hi Neel,
    For troubleshooting your issue, you can take steps as below:
    1.Increasing the UserDefinedWorkflowMaximumComplexity to 30000 setting using Powershell script
    2.IISRESET
    3.Adding <httpRuntime maxRequestLength="51200" executionTimeout="3600" /> in web.config. Yes, that is "3600" unlike "300" suggested. Please note that there are multiple lines in web.config with <httpRuntime maxRequestLength="51200">.
    I made this change only in the very first one.
    4.IISRESET
    5.Removed everything from C:\Users\<userName>\AppData\Local\Microsoft\WebsiteCache from my laptop
    6.Removed everything from C:\Users\<userName>\AppData\Roaming\Microsoft\Web Server Extensions\Cache from my laptop
    7.Removed everything from C:\Users\USER\AppData\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache\ from my laptop
    8.IISRESET
    9.Restart SharePoint 2013 Designer
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/69b184bf-09ed-4e00-815a-4e40a975c4bf/prevent-sharepoint-2010-workflow-to-send-duplicate-emails?forum=sharepointcustomization
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Can i send images by email as attachments rather than embedded in email

    can i send images by email as attachments rather than embedded in email

    How the email message looks in Mail is fairly irrelevant to how it will look to the recipient.  An image attached to an email message is an attachment regardless of how the client displays it.  Some will display it inline, others as an icon in a list of attached files.  Regardless, it is an attachment and should be capable of being opened, saved to another location, etc.
    Unfortunately, some Windows email clients (*cough* Outlook *cough*) are absolutely crippled when it comes to email standards, and make it difficult for recipients to view or save some attached images.  You can better ensure success with Outlook by using Windows-friendly attachments and only sending plain text email, rather than HTML email.  However, Outlook is still Outlook, and it does not play well with others.
    If you must communicate with people who use Outlook  try uploading your photos to an album on Picasa, Flikr, Shutterfly, etc, and then send people a link instead.  Or convince them to use a real email client, like Thunderbird.

  • After updating to the new ios5 with my 4S , no wifi connection (at home), problem when sending or receiving email

    After updating to the new ios5 with my 4S, no wifi connection and problem when sending or receiving email. I had no issue before the update... I am very disappointed

    Did you already try to reset your network settings in Settings/General/Reset?

  • Send images in email with sapconnect

    hello friends, do you know how include images with sapconnect in a email??, but not as a atachment file, but inside of email´s body.
    thank you at all.

    I thought I might add some more detail for anyone who might be interested.<br>
    I can get the below url and any for that matter to work within the framework of APEX. <br>
    I had to strip the HTML tags so you can see it below. <br>
    I place the below code inside HTML tags, inside the Source Code for the PL/SQL anonymous block of the Send Email notification and it all works great. <br>
    The problem is I need the image to open back into the application on a certain page and I have been struggling with the exact code to make that work.<br>
    <br>
    Any help or comments are greatly appreciated.
    <br>
    <br>
    Here is the block of code without the proper right and left angle brackets:<br>
    <br>
    div align="center"<br>
    center<br>
    table border="0" cellpadding="0" cellspacing="0" width="450"<br>
    tr<br>
    td width="100%"<br>
    a href="http://nl.internet.com/c.html?rtr=on&s=1,33pt,1,c946,chaf,fxb0,cybi"<br>
    img border="0" src="http://www.jupitergreetings.com/images/jg_news/2007/con_head.jpg"
    width="535" height="230"<br>
    tr<br>
    table<br>
    center<br>

  • Problem in sending images

    Hi All,
    I have a problem in sending HTML mail with images.I am able to get the image in my mail if i place the image part and the html part in two different tables I am able to get the image along with the html message but if i use the following code i.e using single table i am not able to get the image someone plase help me to get this done and tell me where am i going wrong?
    Properties props = System.getProperties();
                    props.put("mail.smtp.host", smtpServer);
                    Session session = Session.getDefaultInstance(props, null);
                     Message message = new MimeMessage(session);
                   message.setFrom(new InternetAddress(from));
                    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
                     message.setSubject(subject);
                   message.setSentDate(new Date());
                    MimeBodyPart messageBodyPart = new MimeBodyPart();
              MimeBodyPart messageBodyPart1 = new MimeBodyPart();
              MimeBodyPart messageBodyPart2 = new MimeBodyPart();
    StringBuffer msgStrBuf = new StringBuffer();
    msgStrBuf.append("<html><head></head> <body><table  width=\"640\" align=\"center\"  height=\"293\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#D3D3D3\" ><tr><td><img src=\"cid1:image1\" width=\"640\" height=\"92\"></td></tr>");
    DataSource fds1 = new FileDataSource("webimages\\sampleimage.jpg");
    messageBodyPart.setDataHandler(new DataHandler(fds1));
    messageBodyPart.setHeader("Content-ID1","<image1>");
    String headerbody = "";
    msgStrBuf.delete(0,msgStrBuf.length());
    msgStrBuf.append("<tr><td width=\"640\" align=\"center\"   bgcolor=\"#E6E6E6\" height=\"50\" valign=\"top\"><font size=\"2\" color=\"#4C4C4C\" face=\" Arial,Verdana, Helvetica, sans-serif\">����Dear "+locUserName+","+"<br><br>����"+"Here is the updated status report on your project.</font></td></tr>"+"  <tr> <td bgcolor=\"#E6E6E6\" height=\"100\" align=\"center\" valign=\"middle\">  <table width=\"95%\" height=\"100\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"4C4C4C\" >" +"<tr> <td width=\"200\" align=\"left\" valign=\"middle\"><strong><font  size=\"2\" face=\" Arial,Verdana, Helvetica, sans-serif\" color=\"#FFFFFF\">��PROJECT:</font></strong></td><td><font  size=\"2\" face=\" Arial,Verdana, Helvetica, sans-serif\" color=\"#FFFFFF\"><strong>"+getProjectName+"</strong></font></td></tr>"+"   <tr> <td  width=\"200\" align=\"left\" valign=\"middle\"><font  size=\"2\" face=\" Arial,Verdana, Helvetica, sans-serif\" color=\"#FFFFFF\"><strong>��LAST UPDATE:</strong></font></td><td><font  size=\"2\" face=\" Arial,Verdana, Helvetica, sans-serif\" color=\"#FFFFFF\"><strong>"+concatTime+"</strong></font></td></tr></tr></table></td></tr> "  );
    msgStrBuf.append("<tr> <td  bgcolor=\"#E6E6E6\" height=\"50\" valign=\"middle\"><font size=\"2\" color=\"#4C4C4C\" face=\" Arial,Verdana, Helvetica, sans-serif\">����" +"In case you have any questions, please send an email to <a href=\"mailto: </a>. Our customer <br>����service representative will contact you to address any  concerns. ");
    msgStrBuf.append("<br><br>����Thank You,<br> ���.</font></td></tr>");
    msgStrBuf.append("<tr><td  bgcolor=\"#E6E6E6\" height=\"100\" valign=\"top\"> <br><hr><font color=\"#666666\" size=\"-6\" face=\" Arial,Verdana, Helvetica, sans-serif\">����This is an automatically generated email. Please do not reply to this. If you need further information, contact the email address <br>����given above.<br>����If you wish to change your contact email address, please log in to follow the link and modify your<br>����preferences. You can also change the frequency of email updates in the project settings link.</font></td></tr>");
    msgStrBuf.append("</table></body></html>");
    headerbody = msgStrBuf.toString();
    messageBodyPart1.setContent(headerbody,"text/html");
    // Part two is attachment
    String mailingFileId = "";
    if(locGroupClass.equals("2"))
    mailingFileId = "XL Data/"+getProjectID+".xls";
    else{
    mailingFileId = "GPXL Data/"+getProjectName+".xls";
    System.out.println("mailingFileId :"+mailingFileId);
    System.out.println("locGroupClass :"+locGroupClass);
    String mailingFileNAme = getProjectName+".xls";
    DataSource source = new FileDataSource(mailingFileId);
    messageBodyPart2.setDataHandler(new DataHandler(source));
    messageBodyPart2.setFileName( mailingFileNAme);
    multipart.addBodyPart(messageBodyPart);
    multipart.addBodyPart(messageBodyPart1);
    multipart.addBodyPart(messageBodyPart2);
    // Put parts in message
              message.setContent(multipart);
                       Transport.send(message);
                    System.out.println("Message sent OK.");
                  } catch (Exception ex)
                              ex.printStackTrace();
                        }Message was edited by:
    rameshr

    messageBodyPart.setHeader("Content-ID1","<image1>");The name of the header is "Content-ID", not "Content-ID1".
    Of course, if you used the setContentID method on MimeBodyPart,
    the compiler would find this error for you.

  • Unable to send images in Email

    Hi,
         I am trying to send site logo image in Email whenever a Email action is performed.
    My email template jsp is as :-
    <img src='<%=getServletContext().getRealPath("/images/e-commerce_header_img1.jpg")%>' />
    <dsp:importbean bean="/atg/userprofiling/Profile"/>
    <p>Dear <dsp:valueof bean="Profile.firstName"/>
    <p>Thank you for Registering with us.
    <p>Your Login Id is  : <dsp:valueof param="login"></dsp:valueof><br>
       Your Password is : <dsp:valueof param="password"></dsp:valueof>
       <a href='<%=getServletContext().getRealPath("/registration.jsp") %>'></a>
    </p>
    <p>Sincerely,
    The Customer Service Team
    [email protected]
    But the <img src=' '/> and the <a herf=' '/> is not displayed in the Email.
    My debug log is showing the appropriate path of the image and the hyperlink.
    Debug Log:-
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <img src='D:\MyApp\jboss-5.1.0.GA\server\atg_production\deploy\Storefront.ear\storefront-web.war\images\e-commerce_header_img1.jpg' />
    <p>Dear <username>
    <p>Thank you for Registering with us.
    <p>Your Login Id is  : <userID><br>
       Your Password is : **********
       <a href='D:\MyApp\jboss-5.1.0.GA\server\atg_production\deploy\Storefront.ear\storefront-web.war\registration.jsp'></a>
    </p>
    <p>Sincerely,
    The Customer Service Team
    [email protected]
    </body>
    </html>
    ------=_Part_4_7060822.1386214829362--
    09:10:31,781 INFO  [STDOUT] 250 OK id=1VoPnm-4gfN7a-5y
    09:10:31,783 INFO  [TemplateEmailSender] DEBUG email sent to Profile[4150003] ([email protected])
    09:10:31,783 INFO  [STDOUT] NOOP
    09:10:31,997 INFO  [STDOUT] 250 OK
    09:10:31,997 INFO  [STDOUT] QUIT
    09:10:32,212 INFO  [STDOUT] 221 smtpcorp.com closing connection
    What can the problem..?

    <img src='<%=getServletContext().getRealPath("/images/logo.jpg")'%>
    Above code is not displaying image coz when browser is rendering email content, It's expecting logo.jps to be present in image directory relative to browser temporary folder, Which is not..
    If u wan to display image in mail, U have two options:
    Either attach image in mail as suggested by Prateek.
    Make Image url a absolute url.
    Usually Sites send email with absolute ur, When u read email, ur browser gets the image and render the content along with image.
    Thanks,
    Nitin.

  • Problem with Sender in RFx emails

    Hi Folks,
    I have some problems in sender of RFx documents.
    The e-mail of sender is the buyer e-mail, but in sometimes the system
    use the WF e-mail for send smartforms.
    I checked in SOST, and sometimes the sender and email is correct sometimes no.
    Can anyone please tell me how I can solve this issue?
    Regards and tks a lot!

    Hello,
    The SRM system uses Smartform BBP_OUTPUT_COVER to create the content of e-mails sent to bidders.
    I feel current setting is,
    Sender:     E-mail address of the last user to change the document
    You can look at the option of using
    Sender: E-mail of the user created the document.
    Useful Transaction SPPFP / Program RSPPFPROCESS
    Hope this helps.
    Thanks
    Ashu

  • Problem with embedded images in emails

    After downloading OS X Yosemite onto my Mac , the images embedded in my emails have now turned to question marks. How do I re-instate ?

    I ask the sender of the email to use tiny url or other service which are usually free. I also use the select feature but again i get the same results as you.
    Be a Shepard and not an iSheep.

  • Send dashboard with email notification

    Hi,
    Is it possible to send email notification along with dashboard in OEM 12c.Please assist me on this.
    thanks,
    sagar

    Hi,
    have you checked this link :http://docs.oracle.com/cd/E24628_01/doc.121/e24473/notification.htm

  • Nokia E72-1 send image via Email

    Hi
    After one of the latest firmware upgrades, the options for sending an item via email has dissapeared. For example, when I take a picture with a camera and then click the envelope icon, the only two options I get are: "Via message", "via Bluetooth" and "upload". In the past there was an option called "Via email" but is now missing. Anyone have any idea how to fix that? It's really annoying, since to send an image via email I have to create a new email and then browse the file system to find the image (there are also no thumbnails there so finding the right one is even more frustrating).
    Thanks

    Your'e right.
    nokia has removed this item to let you send email via nokia instead. This is a commercial feature i think.
    you can add attachments when you create a new mail in your mailbox though......
    msonic.

  • I have a problems on sending out hotmail email using my ipad

    i hv a ipad 1st generation i set up my hotmail email but i can only rec'd mails cant send out mails thru the acct
    i'm not sure if my setup is correct, pls see below:
    incoming mail:
    host pop3.live.com
    username:
    ssl is on
    port 995
    outgoing mail:
    host stmp.live.com
    ssl is on
    port 587
    <E-mail Edited by Host>

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Send a Failure Email Notification After Load Plan execution in ODI 11g

    Hi Experts,
    Greetings!
    I am trying to send an email if any of the step fails during Load Plan execution. Irrespective of the failed object, only 1 email should be sent to the Administrator. I unable to do this. Mails are getting sent for the no of times the no of object fails. For eg if 10 out of 100 steps fails, 10 emails are getting sent. I need to send only 1 email.
    I am using ODISendMail.
    I have tried various combinations however, all in Vain.
    For instance:
    root step --> Exeception Step (Send Failure Email) and Execption behaviour (Run Exception and Ignore). Using this because, I dont want to stop the load plan on the step failure.
    Interface1: Exeception Step (Blank) and Execption behaviour (Run Exception and Ignore).
    Interface2: Exeception Step (Blank) and Execption behaviour (Run Exception and Ignore).
    Exception not getting executed.
    Please help.
    Regards,
    Andy

    Thanks SH.
    I tried your suggestion as per below.
    1. Created global variable "v_cnt" with default value "0"
    2. Created package "pkg_v_cnt" to increment the variable by 1
    3. created package "pkg_sendError_Email" to check if v_cnt > 0 then Send Error Email.
    For Instance, the loan plan looks like this:
    root step --> Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Raise)
    Interface1: Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Ignore).
    Interface2: Exeception Step (pkg_v_cnt) and Execption behaviour (Run Exception and Ignore).
    Send Error Email (pkg_sendError_Email)
    The issue here is that, the variables are not getting the incremented value and hence unable to send email . The variable value remains "0" even after execution of the exception steps when both interfaces fails.
    Pls help.
    Thanks,
    Andy

Maybe you are looking for

  • DW 5.5 uploading to wrong location

    I have recently restored a site using the New process.  The local and remote files were already in place.  When I make a change, it uploads OK apparently, except that the file goes to the wrong place and is not seen when browsing.  The site in questi

  • POST Installation Error while deploying my First Web Dynpro Tutorial

    Hi Experts, I have installed the SAP SneakPreview for java stack on my laptop. Also installed NWDS 7 in the laptop. Then tried the first Web Dynpro tutorial in SDN. But nt able to deploy the Web Dynpro application. My SDM, dispatcher and server0 are

  • Brand new Ipod touch G4 with sound only in one earbud

    I have a brand new Ipod touch G4 with sound only in one earbud.  I have tried different types of headphones, but get the same result.  If I jiggle the connector pin, I can get sound on both earbuds, but only on one side when the connector pin is push

  • PO message output problem

    Dear Friends, In ME9F message output...when i am looking PO output in Display message.... 1.The  ECC No. of my company is showing blank  and 2.The contact person name is coming of my company,suppose 'xyz' and i want to change it with partcular person

  • Migrate User Profile Disks to new File Server

    I'm looking for some guidance/best practice/advice on moving my user profile disk share. My goal is simple enough, we have a share with UPDs on a stand-alone file server. I'm in the process of configuring a scale-out file server and would like to mig