Creating OS X Mail HTML Messages

Hi all,
I have a mailing script which I use to send a message to a defined mailing list using AppleScript, AppleWorks and OS X Mail.
At the moment the outgoing message is created by the script as plain text, but what I'd like it to be is HTML. Any idea how I can set the mail message body to send HTML within the script?
Help appreciated.
Ross

This is to replace the previous post:
I have been searching for how to create custom HTML emails in Mail, in a way that would work with OS 10.3 and 10.4, so as not to rely on the user having Tiger. After reading through many posts, I came up with a script that creates a new HTML message that you can still edit in Mail itself before sending, and you don't need Safari 2. I'm new to scripting so please let me know if this is useful.
Jodain
Part I: defines the HTML code; you can make something in the script itself as long as the string this_html ends up in proper formatting. I actually came up with this primarily for pasting most the html code in the script itself, with a few changing variables. If you do paste or type html code in the script, make sure you use \\ for every \, and \" for every ". If you're using TextEdit to alter the html, use find and replace in that order (\:\\ then ":\").
Part II: builds a message in Mail with the html content... an undocumented property of a Mail message. However, it only works when visibility is false, so unless you send it right away, the user is not able to still type the recipients and edit the body in Mail as he/she might be used to. Which brings me to...
Part III: takes the saved draft and opens it up for editing. The open command only lets you view the message, even if it is outgoing, so I had to come up with a work-around so you can still edit as if you're composing it for the first time.
--Part I
tell application "Safari" to set this_html to source of document 1
tell application "Safari" to set this_page to name of document 1
--Part II
tell application "Mail"
activate
set theMsg to make new outgoing message with properties ¬
{subject:this_page, html content:this_html & ¬
return & return, content:""}
tell theMsg to make new to recipient
save theMsg
--Part III
if not (exists the front message viewer) then make new ¬
message viewer
tell front message viewer
set selected mailboxes to {the drafts mailbox}
set sort column to date received column
set sorted ascending to false
delay 3
set selected messages to {first message}
tell application "System Events" to tell process ¬
"Mail" to keystroke return
end tell
end tell

Similar Messages

  • Can I Send HTML Messages in Mail?

    I am trying to send html messages in Mail, and also to add a small html code to my signature. Is this possible? If so, how? When I put in straight code, it just remains text. I know I receive html mail, so....?

    RTf with Tiger Mail is HTML but the Mail.app does not include an HTML composer/editor.
    In order to send basic text as HTML instead of Plain Text when using RTF for message composition requires changing the font or color of existing text in a new message and/or when selecting bold, underline or italic for a word or a portion of existing text. This part I don't understand since selecting RTF for message composition should send the font and font size selected under Fonts & Colors for the Mail.app preferences as HTML by itself.
    You can use an HTML editor/composer of choice (Apple's Text Edit application can be used for this) and save the completed HTML document. Open the saved HTML document with Safari and after confirming the layout, etc. with Safari, at the menu bar go to File and select Mail Contents of This Page and the rendered page with Safari will be copied to a new Mail.app message which will be sent in its entirety.
    You can set up a "template" this way by saving the HTML message as a Draft. Utilize a user created "On My Mac" location mailbox named Templates and transfer this message from the account's Drafts mailbox to the Templates mailbox. Select this templates message and at the menu bar, go to Message and select Send Again entering all recipients and making any changes, etc. The original template message will not be altered.
    Regarding creating a Mail.app signature with HTML code, check this link.
    http://allforces.com/2006/04/14/css-signatures/
    Don't know for sure at this point but it appears this may become easier with the Mail.app under Leopard.
    http://www.apple.com/macosx/leopard/mail.html

  • Mail.app reading HTML messages - status line?

    Is there a status line or other field that displays the contents of an embedded link in HTML messages?
    If so, where is it, and how does one enable it?
    To be precise, what I am looking for is the equivalent to the status line that Safari displays at the bottom of a browser window where the user can view the contents of a link when the cursor is hovering over a picture or text which is a hyperlink to another document or website.
    Why I'm looking for this, is so that when reading eMail with hypertext links (HTML eMail) the destination of the link would be visible, so if someone sends me phishing email with a link that says "https://safeharbor.ebay.com/" and the actual html (which can be seen by using "View => Message => Raw Source") says something like https://190.121.43.66/cgi-bin/steal-this-password.exe?user=myname&email=user@exa mple.com" it is obvious that I shouldn't click on the link. Likewise, when load-pictures is off, I can hover the cursor over the graphic and see whether the graphic is just an image (http://www.site.com/picture.jpg), or is an image with a tracker attached (http://www.site.com/cgi-bin/showpic?email=[email protected]&image=picture.jpg).
    I was hoping this would be in the new Mail.app for leopard since creating HTML mail was available, at least in limited form, and Phishing is NOT a new problem. Also, since Mail.app uses the safari rendering engine to display HTML in eMail, it make sense that it could also display link info.
    SO, does it exist? Is there some magic key combination or hidden (well hidden) menu or preference option to set to see this simple link information? I know I can do it by viewing the raw source, but that is a royal pain in the a** to read all the gobbletygook, html, css, javascript, etc. that shows up in html pages. And maybe a good percentage of Apple users don't know how to read HTML anyway, although most do know what a URL looks like.
    -Carl

    How does one go back and EDIT a post to fix a typo, or other grammatical or formatting error?
    (My -- strike-through -- text was not supposed to be that way, and I see I'm missing the (") quote at the beginning. I likely put in a dash or two for offsetting it, but apparently that was a formatting hint to strike it out. Arrrgh!)

  • In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    Nurit,
    The point is that that button should not be there, if the preference setting is as you say. This indicates the preference setting is stuck, and that is what I was trying to help you resolve.
    The full purge is done as follows:
    Quit Mail, and in the Finder open Home/Library and locate the Mail folder. Control-click over the Mail folder, and choose Duplicate -- then drag the resulting copy to the Desktop for temporary backup. Next, open Home/Library/Preferences and find the com.apple.mail.plist file and drag it to the desktop.
    Relaunch Mail, which will open as though new, and when prompted to import anything DECLINE. Instead, re-enter your account info, and Mail will re-discover the account folders for your accounts, and all should be well, after setting preferences as you desire.
    Ask any needed questions, and keep us posted.
    Ernie

  • HTML messages crash Mail

    Since this morning, every time I try to open an HTML message in Mail, it crashes. I don't have a problem with regular text e-mails, just HTML. I've repaired permissions, run Disk Utility and Disk Warrior, and I don't know how to proceed.
    Can anyone help, please?

    Hi lsgmilano, and a warm welcome to the forums if you han't been already!
    First I'd backup your whole Mail folder, by right clicking on it in the Finder, then choose Archive/Compress.
    Right click on that Mail folder, choose archive, you'll get everything in the folder, and the folder itself in a file called Mail.zip..
    Quit Mail, then In your home folder, try moving this +folder & file+ to the Desktop then reboot...
    /Users/YourUserName/Library/Caches/Mail
    Move to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index

  • Is there any way, to create with Adobe Muse HTML-Mail Templates?

    Is there any way, to create with Adobe Muse HTML-Mail Templates? or to convert the createt page to only html content? any other tool like an website copyer?
    tanks for help!

    Off the top of my head, you should be able to create mail templates in muse BUT it will require  very basic html/css knowledge on your part. I am assuming you want to do just the signature?
    Create the design you would like on one page, dont do any kind of styling in a master page. Then export the site into a folder. Open the html file with notepad/ textedit and then copy just the code for JUST the template. Throw it in you mail app of choice and it should work.
    This seems like something that would be done alot quicker in dreamweaver in design view.
    PLEASE NOTE: ^i could be completely wrong - but in theory this may work.

  • TS4002 Can't create any alias in iCloud mail, see message "Cannot save alias.

    Can't create any alias in iCloud mail, see message "Cannot save alias. This alias cannot be saved at this time". I tried different variations at different dates (I thought this is temporary issue) but this not helped me. Perhaps some of you have resolved this issue and can tell me how I can do it?

    Do you see in account settings two email addresses - with "@me.com" and "@icloud.com"? Or only "@me.com"? In second case just wait - your account will be updated in some time. I've waiting from summer and my account was updated in one day as soon as I've start this discussion   When your account will be updated - you will see in preferences two addresses, with "@me.com" and with "@icloud.com".

  • Mail in Mountain Lion does not display all HTML messages

    For some reason Mail app stopped siplaying most HTML messages. I haven't changed any settings but can't seem to figure out how to make mwaagwa qirg HTML display the way they used to. Thanks in advance!

    how do you log into hotmail at work? via webmail interface? hotmail provides POP email access only when using an email clienet and you probably have Mail set to remove messages from server after downloading them. go to Mail preferences->account->advanced and check those settings. you can change them to leave messages on server or to remove them from server only when they are moved from the inbox.

  • HTML messages in mail.app ???

    Ok this may be a really obvious and idiotic question but.... I'm thinking of starting to use "mail.ap" instead or Entourage and I simply can't find something. I want to always use HTML messages and yet the only options I "appear" to have is under Preferences->Compose and I can only select "plain text" or "Rich text" as my message format. Does this mean I can't send HTML mesages? Is that really the case?
    If I can send HTML messages could someone please tell me how?
    TIA,
    Peter

    You can't compose html messages with Mail but it will view received html emails.

  • PSE7 "Photoshop Elements could not finish creating your E-Mail message."

    Since I upgraded to PSE7 from PSE6 I am no longer able to send Photo Mail using Outlook 2007. I get the message "Photoshop Elements could not finish creating your E-Mail message." Outlook is and has always been my default email client. I do not want to use Adobe's email service.

    Hi [email protected],
    Please refer to the given link:-
    Changing Email Clients in Elements 12
    Regards,
    Sarika

  • Verizon Blackberry Internet Service Client (BIS)- How to create an e-mail Filter

    Hello. Thank you in advance for replying to my question. I am trying to create an e-mail filter so that a contact's e-mail messages do not get delivered to my BB and instead just go straight to my regular e-mail account. I understand that you can do this function from the BIS, however when I tried to create an account I received a message that said "please use your device to access the BIS." I did just as the message told me but I did not get the same menu options from my BB as I would have gotten from doing it from the internet. The page only showed a list of my e-mails and an "edit" and "delete" choice for each one. There was no "Filter" button for me to click. I remember a while ago I able to access this page and was able to remove the BB signature (i.e.. "This message is being sent from a BB"), so I know that it was possible to access this page. I do not know why I am not able to accesses it now.               
    If anyone out there has Verizon and knows how to access the BIS, please let me know how. Or if you know how to create an e-mail filter function, please let me know.
    Thank you,
    Fred
    Solved!
    Go to Solution.

    Hi there!
    To log into your BIS account from a PC/browser (not the BB browser), go to this URL:
    https://bis.na.blackberry.com/html?brand=vzw
    Enter your BIS credentials and you will then be in your BIS account screen. From there, use this KB to create the filter you desire:
    KB04558 Add a filter to a BlackBerry Internet Service account
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to customize initial secure e-mail notification message

    Can we customize the initial secure e-mail notification message with a company logo or any kind of text?
    The one that says:
    You have received a secure message
    Read your secure message by opening the attachment, securedoc.html. You will be prompted to open (view) the file or save (download) it to your computer. For best results, save the file first, then open it in a Web browser. To access from a mobile device, forward this message to [email protected] to receive a mobile login URL.
    If you have concerns about the validity of this message, contact the sender directly.
    First time users - will need to register after opening the attachment.
    Help - https://res.cisco.com/websafe/help?topic=RegEnvelope
    About Cisco Registered Email Service - https://res.cisco.com/websafe/about
    Basically we want to put our company logo to the top of this message. We already have our company logo added in CRES that shows up when you open the securedoc.html file.
    Thanks!

    Nevermind, I found it.
    Mail Policies > Text Resources > Add Text Resource
    Set the type as Encryption Notification Template (HTML), edit the HTML and then also add one with a type Encryption Notification Template (text), edit the text. Then go into the Security Services > IronPort E-Mail Encryption > modify the Encryption profile and choose the new Text Resources created above.
    Under Text Resources I was also able to create custom bounce messages with variables that display all the relevant information regarding the bounce.

  • Using images in an HTML message

    Dear All,
    I want to embed 2 .gif files as part of the HTML message which is being sent from one client to another..My clients want me to give them the same effect as Outlook express utility: New Using->Select Stationery->Filename...so that the text can be typed on the image & then sent...i have hardcoded the structure of the message but the problem is that i am only able to send this message & view it only on my m/c & my e-mail id....if i send it to some other id the picture is not displayed how do i handle this
    Thank You
    Chaitra

    import java.io.*;
    import java.util.*;
    import java.text.*;
    import javax.mail.*;
    import javax.servlet.*;
    import javax.activation.*;
    import javax.servlet.http.*;
    import javax.mail.internet.*;
    public class MailServlet
    extends HttpServlet
    protected void printForm(String form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws IOException
    PrintWriter writer = response.getWriter();
    form = MessageFormat.format(form,
    new Object[] { request.getServletPath() });
    writer.print(form);
    writer.flush();
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException
    printForm(request.getParameter("SendMailForm"),request,response);
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException
    try
    if(request.getContentType().
    startsWith("multipart/form-data"))
    doUpload(request,response);
    else
    response.sendError(
    HttpServletResponse.SC_NOT_FOUND);
    catch(Exception e)
    PrintWriter writer = response.getWriter();
    writer.println("<HR><B>Oops!</B><PRE>");
    e.printStackTrace(writer);
    writer.println("</PRE>");
    writer.flush();
    protected void doSendMessage(HttpServletRequest request,
    HttpServletResponse response,
    Dictionary fields)
    throws IOException, MessagingException
    String host = "10.10.40.6";
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    Session session =
    Session.getInstance(props, null);
    Message msg =
    new MimeMessage(
    session); /*.getDefaultInstance(
    System.getProperties(),null));*/
    msg.setFrom(
    new InternetAddress(
    (String)fields.get("from")));
    InternetAddress[] tos =
    InternetAddress.parse((String)fields.get("to"));
    msg.setRecipients(Message.RecipientType.TO,tos);
    if(fields.get("cc") != null)
    InternetAddress[] ccs =
    InternetAddress.parse((String)fields.get("cc"));
    msg.setRecipients(Message.RecipientType.CC,ccs);
    msg.setSubject((String)fields.get("subject"));
    msg.setSentDate(new Date());
    String msgText ="<HTML><HEAD><TITLE id=ridTitle>Eximbirthday</TITLE>";
         msgText+="<META http-equiv=Content-Type content=\"text/html; charset=windows-1252\"><BASE ";
         msgText+="href=d:/Tomcat/webapps/Project/>";
         msgText+="<META content=\"MSHTML 6.00.2600.0\" name=GENERATOR></HEAD>";
         msgText+="<BODY id=ridBody bgColor=#e7e4d9 leftMargin=0 topMargin=0 marginheight=0";
         msgText+="marginwidth=0>";
         msgText+="<CENTER></CENTER>";
         msgText+="<P></P>";
         msgText+="<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>";
         msgText+="<TBODY>";
         msgText+="<TR>";
         msgText+="<TD vAlign=top align=left colSpan=2><IMG height=69 src=\"cid:hbday.gif\"";
         msgText+="width=366 border=0></TD></TR>";
         msgText+="<TR>";
         msgText+="<TD vAlign=top align=left width=\"65%\" height=2>";
         msgText+="<br><br><FONT color=#0000ff size=5>";
         msgText+=(String)fields.get("body");
         msgText+="</font></TD>";
         msgText+="<TD vAlign=bottom align=right height=2><IMG height=394 src=\"cid:flowers.gif\"";
         msgText+="width=296 border=0></TD></TR></TBODY></TABLE>";
         msgText+="<DIV> </DIV></BODY></HTML>";
         if(null == fields.get("attachment"))
    // msg.setText((String)fields.get("body"));
              msg.setContent(msgText,"text/html");
    else
    BodyPart body = new MimeBodyPart(),
    attachment =(BodyPart)fields.get("attachment");
    //body.setText((String)fields.get("body"));
              // body.setHeader("Content-Disposition", "inline; filename=flowers.gif");
              body.setContent(msgText, "text/html");
    MimeMultipart multipart = new MimeMultipart("related");
    multipart.addBodyPart(body);
    multipart.addBodyPart(attachment);
              body=new MimeBodyPart();
              DataSource fds = new FileDataSource("D:/Tomcat/webapps/Project/hbday.gif");
              body.setDataHandler(new DataHandler(fds));
    body.setHeader("Content-ID","hbday.gif");
         // Add part to multi-part
         multipart.addBodyPart(body);
              // Create 2nd part for the image
         body = new MimeBodyPart();
              // Fetch the image and associate to part
              DataSource fds2 = new FileDataSource("D:/Tomcat/webapps/Project/flowers.gif");
              body.setDataHandler(new DataHandler(fds2));
              body.setHeader("Content-ID","flowers.gif");
              // Add part to multi-part
              multipart.addBodyPart(body);
    msg.setContent(multipart);
    Transport.send(msg);
    response.sendRedirect(response.encodeRedirectURL("/Project/OkForm.jsp"));
    public void doUpload(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, MessagingException
    String boundary =
    request.getHeader("Content-Type");
    int pos = boundary.indexOf('=');
    boundary = boundary.substring(pos + 1);
    boundary = "--" + boundary;
    ServletInputStream in =
    request.getInputStream();
    byte[] bytes = new byte[512];
    int state = 0;
    ByteArrayOutputStream buffer =
    new ByteArrayOutputStream();
    String name = null,
    value = null,
    filename = null,
    contentType = null;
    Dictionary fields = new Hashtable();
    int i = in.readLine(bytes,0,512);
    while(-1 != i)
    String st = new String(bytes,0,i);
    if(st.startsWith(boundary))
    state = 0;
    if(null != name)
    if(value != null)
    fields.put(name,
    value.substring(0,
    // -2 to remove CR/LF
    value.length() - 2));
    else if(buffer.size() > 2)
    InternetHeaders headers =
    new InternetHeaders();
    MimeBodyPart bodyPart =
    new MimeBodyPart();
    DataSource ds =
    new ByteArrayDataSource(
    buffer.toByteArray(),
    contentType,filename);
    bodyPart.setDataHandler(
    new DataHandler(ds));
    bodyPart.setDisposition(
    "attachment; filename=\"" +
    filename + "\"");
    bodyPart.setFileName(filename);
    fields.put(name,bodyPart);
    name = null;
    value = null;
    filename = null;
    contentType = null;
    buffer = new ByteArrayOutputStream();
    else if(st.startsWith(
    "Content-Disposition: form-data") &&
    state == 0)
    StringTokenizer tokenizer =
    new StringTokenizer(st,";=\"");
    while(tokenizer.hasMoreTokens())
    String token = tokenizer.nextToken();
    if(token.startsWith(" name"))
    name = tokenizer.nextToken();
    state = 2;
    else if(token.startsWith(" filename"))
    filename = tokenizer.nextToken();
    StringTokenizer ftokenizer =
    new StringTokenizer(filename,"\\/:");
    filename = ftokenizer.nextToken();
    while(ftokenizer.hasMoreTokens())
    filename = ftokenizer.nextToken();
    state = 1;
    break;
    else if(st.startsWith("Content-Type") &&
    state == 1)
    pos = st.indexOf(":");
    // + 2 to remove the space
    // - 2 to remove CR/LF
    contentType =
    st.substring(pos + 2,st.length() - 2);
    else if(st.equals("\r\n") && state == 1)
    state = 3;
    else if(st.equals("\r\n") && state == 2)
    state = 4;
    else if(state == 4)
    value = value == null ? st : value + st;
    else if(state == 3)
    buffer.write(bytes,0,i);
    i = in.readLine(bytes,0,512);
    doSendMessage(request,response,fields);
    class ByteArrayDataSource
    implements DataSource
    byte[] bytes;
    String contentType,
    name;
    ByteArrayDataSource(byte[] bytes,
    String contentType,
    String name)
    this.bytes = bytes;
    if(contentType == null)
    this.contentType = "application/octet-stream";
    else
    this.contentType = contentType;
    this.name = name;
    public String getContentType()
    return contentType;
    public InputStream getInputStream()
    // remove the final CR/LF
    return new ByteArrayInputStream(
    bytes,0,bytes.length - 2);
    public String getName()
    return name;
    public OutputStream getOutputStream()
    throws IOException
    throw new FileNotFoundException();
    This is the latest version ....which again doesnt work!!!!!
    Thanx..
    Chaitra

  • Show HTML Message Before Send..

    Hi All,
    Any help would be greatly appreciated as I am losing sleep, my hair, my
    sanity and any respect I had for groupwise... ; )
    Ok, heres the deal... I am trying to send a HTML formatted EMail
    programmatically using groupwise that the user will be able to edit
    before it is sent...
    I have tried several methods all without success...
    1) I create the Email using Groupware Object Model, attach a file called
    Text.htm. The file is correctly used as the HTML body but then if I
    attempt to show the mail to the user with Groupwise tokens all of the
    address fields (To, CC, BC) are reset???!!!
    2) If I create the whole mail using Tokens there is no way to Set the
    HTML body. If I attach the Text.Htm file then it is not treated as the
    HTML body, it is just shown as a normal attachment!!!
    3) If I use MAPI the TEXT.htm file is not treated as the HTML body and
    there is no way to set the HTML text via the MAPI Api.
    I just want to create a HTML formatted EMail from code... So far I have
    had to use 3 different API's and I am still no further forward.
    Thanks...

    Hi David,
    Thanks for your respone, don't worry on the spelling I am exactly the
    same. Many times I have sent a post only to read it back wincing...
    I notice that the 2 posts have re-appeared, bizarre.
    With regard to your suggestion, can you elaborate?
    In case 1, where I can get the HTML attached to the mail whenever I use
    Groupwise tokens to show the mail for editing it resets all of the address
    fields. Even if I manually fill these in it looses the HTML attachment. If
    I re-attach it using tokens it is treated just as a normal attachment (IE
    is not used as the HTML body). So basically I am stuck at this point. Are
    you suggesting that I write or use another HTML/EMail editor external to
    Groupwise and then just use Groupwise to send the Email?
    I must say that I would have thought that this was a pretty common
    requirement. Has no one at Novell on anywhere else done this before using
    Groupwise?
    Thanks,
    Dhugal.
    David Mair wrote:
    > BTW, spelling is often optional in my posts (I write them very fast and
    > jump from place to place editing them as I write them). Sorry about:
    > "The lack of probably indocates". It should, of course, read: "The lack
    > of a response probably indicates". I actually had to cancel and re-post
    > this one due to two typos. Believe me, English is my first language.
    > David Mair wrote:
    > > Yes, I noticed my message disappeared, let me quote from it:
    > >
    > > "These forums are not staffed by Novell, they are made available by
    > > Novell for peer support (as is the case with other software company NNTP
    > > servers). Several Novell employees "hang out" on the forums (I'm one of
    > > them) but those of us that do are volunteers. The lack of probably
    > > indocates that no-one knows the answer to your question or that someone
    > > with an answer has not seen it yet."
    > >
    > > The comment on how I believe GroupWise handles HTML wasn't intended as
    > > something you needed to know. It was intended to suggest there might be
    > > another way to solve your problem. The case you described that came
    > > closest to functioning, 1) in your OP might be re-workable such that it
    > > does work. My point was that if GroupWise uses external COM objects for
    > > its HTML handling then you might not need to use GroupWise to show the
    > > mail for editing. You could compose it externally from GroupWise and use
    > > the functional parts of your case 1 after the message is composed.
    > >
    > > dhugalleverett wrote:
    > >
    > >> Hi All,
    > >>
    > >> I don't know what is going on but 2 posts have disappeared from this
    > >> thread....
    > >>
    > >> Anyway, to the developer who originally replied:
    > >>
    > >> I am a little confused by your explanation. I do not need to know the
    > >> internals of how Novell handles HTML. I simply want to create a HTML
    > >> formatted EMail programmatically, and open it so that the user can
    > >> edit it
    > >> before it is sent.
    > >>
    > >> In Outlook it is a simple as setting a simple property:
    > >>
    > >> MailItem.HTMLBody = sHTMLString
    > >>
    > >> I have searched the Web, the NDK documentation and the forums and I have
    > >> not been able to find any information on how to do this, let alone
    > >> whether
    > >> it is possible or not.
    > >>
    > >> Could someone at Novell simply confirm whether or not this is possible
    > >> please?
    > >>
    > >> I am in the situation where a client using Novell Groupwise has asked me
    > >> (or my company to be more precise) to develop some software that
    > >> integrates with Novell and I am unable to tell them whether or not
    > >> this is
    > >> possible because none of the documentation covers it and none of the
    > >> Novell developers on this forum have been able to tell me.
    > >>
    > >> Personally I do not see it as a major issue if Groupwise does not support
    > >> this, although I would like to be able meet the clients requirements
    > >> exactly if possible.
    > >>
    > >> Thanks,
    > >>
    > >> Dhugal.
    > >>
    > >> dhugalleverett wrote:
    > >>
    > >>
    > >>> Hi all,
    > >>
    > >>
    > >>
    > >>> I am assuming from the lack of response that there is no way to achieve
    > >>> this?
    > >>
    > >>
    > >>
    > >>> Can someone from Novell confirm whether or not this is the case please?
    > >>> That was I can go back to my client and inform them what the
    > >>> situation is.
    > >>
    > >>
    > >>
    > >>> Thanks,
    > >>
    > >>
    > >>
    > >>> Dhugal.
    > >>
    > >>
    > >>
    > >>> [email protected] wrote:
    > >>
    > >>
    > >>
    > >>>> Hi All,
    > >>
    > >>
    > >>
    > >>>> Any help would be greatly appreciated as I am losing sleep, my hair,
    > >>>> my sanity and any respect I had for groupwise... ; )
    > >>
    > >>
    > >>
    > >>>> Ok, heres the deal... I am trying to send a HTML formatted EMail
    > >>>> programmatically using groupwise that the user will be able to edit
    > >>>> before it is sent...
    > >>
    > >>
    > >>
    > >>>> I have tried several methods all without success...
    > >>
    > >>
    > >>
    > >>>> 1) I create the Email using Groupware Object Model, attach a file
    > >>>> called Text.htm. The file is correctly used as the HTML body but
    > >>>> then if I attempt to show the mail to the user with Groupwise tokens
    > >>>> all of the address fields (To, CC, BC) are reset???!!!
    > >>
    > >>
    > >>
    > >>>> 2) If I create the whole mail using Tokens there is no way to Set
    > >>>> the HTML body. If I attach the Text.Htm file then it is not treated
    > >>>> as the HTML body, it is just shown as a normal attachment!!!
    > >>
    > >>
    > >>
    > >>>> 3) If I use MAPI the TEXT.htm file is not treated as the HTML body
    > >>>> and there is no way to set the HTML text via the MAPI Api.
    > >>
    > >>
    > >>
    > >>>> I just want to create a HTML formatted EMail from code... So far I
    > >>>> have had to use 3 different API's and I am still no further forward.
    > >>
    > >>
    > >>
    > >>>> Thanks...
    > >>
    > >>
    > >>
    > >>
    > >
    > >

  • How to create an email blast HTML

    Ok, I have a couple of my clients emails who I have given me permission to send them an email HTML blast with my specials. How can create one using dreamweaver and send it thru my mac mail program?
    I know how to make basic html websites like this one http://www.nrgdesigngroup.com/ I just need to know how to send it with Images thru an email.
    thanks

    Hi
    Here's how I do it:
    Create your page as normal, remembering that emails can't contain any flashy stuff like Flash or Javascript (or even animated GIFs sometimes).
    Upload the images to your web server (MobileMe/.Mac space will do if you don't have your own) and that they are linked as such in your <img src>es.
    To be sure that all can read it (sometimes email programmes have trouble with HTML messages) place a copy of the html on the server too and link to it at the top of the page with something like "If you're having trouble viewing this, please click here".
    Preview your page in Safari then select Mail Contents Of This Page from the File menu. This will open a new email in Mail with the HTML embedded in it.
    Voila!
    Hope that helps
    Peter

Maybe you are looking for