How to maintain format in html email using the send email....

Does anyone know how to maintain the format in a HTML email using the Send E-mail To Recipients From Recordset behavior?
When text only is selected instead of HTML text on the Options tab the format of the input is maintained, but when HTML text is selected the email has no format. I have tried to use a replace \n with
as I have done when hand coding PHP, BUT I am trying to learn to use ADDT. I also tried to use a Custom trigger without success.
Help!

Hi Dave,
in my snippets folder I have this thing which I found on the old MX Kollection forums and which was suggested by the Interakt staff:
//trigger SendEmail (write content)
function Trigger_SendEmail(&$tNG) {
ob_start();
include("myDynamicContentFile.php");
$mailcontent = ob_get_contents();
ob_end_clean();
$emailObj = new tNG_Email($tNG);
$emailObj->setTo("[email protected]");
$emailObj->setFrom("[email protected]");
$emailObj->setSubject("A new User was added");
$emailObj->setContent($mailcontent);
$emailObj->setEncoding("UTF-8");
$emailObj->setFormat("text");
$emailObj->setImportance("Low");
return $emailObj->Execute();
//trigger SendEmail (write content)
The only modification is the possibility to include a dynamic PHP file rather than some static text or a HTML file which will also render textarea contents on one line:
ob_start();
include("myDynamicContentFile.php");
$mailcontent = ob_get_contents();
ob_end_clean();
That said, it should be possible to define all the "rendering" options in the external PHP file, what would mean to apply the nl2br function there, e.g.: nl2br($row_queryname['columnname'])
What I´m not sue about is, if you will have to strip the external file´s head and body tags before it´s getting included -- however, please give this a try and tell us how it worked.
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver

Similar Messages

  • Setting the 'Return-Path' of emails sent using the send email behaviour

    Hi,
    How do I set the 'Return-Path' of emails sent using the send email behaviour? I am having troubles because the emails sent from my page are being filtered out as spam when they should be coming through. the text is the following (it is the notification of an e-card to the recipient):
    Dear Bart
    We've decided this year to share our holiday greetings while also showing our commitment to protect the planet. Since it takes 24 mature trees to
    produce one ton of greeting cards, this e-card shares our holiday wishes with both you and future generations.
    Please follow the link below.
    Best Wishes,
    John
    http://www.jdgcsfiles.com/_ecards/viewcard.php?ID_cnt=297
    I suspect that it has something to do with the return path setting.
    Can anyone help me on this one and get it through the spam filters of most email clients?!
    Thanks,
    NIk

    Hi Nik,
    so far the only "flagged as spam" reason I know of is, that ADDT curreently misses to insert the current date/time -- please try the fix mentioned in the thread http://www.adobeforums.com/webx/.3c034953/5 and see if it helps
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How do I reply to a forwarded email using the 'To' email address in 'From'

    Let me explain, as this might sound odd:
    I now have what will be a rarely used email address, say [email protected], provided for me by a company I am occasionally contracted to work for. Any email sent to that address is automatically forwarded to my personal account. There will be the odd occasion that I will need to send email from that address, or reply to emails sent to that address.
    The problem is, as far as I can see, I can only send email from the address I have set up my account with on Mail, say [email protected] For confidentiality reasons I'm not allowed, nor do I wish, to have recipients know this address. Though I'm self employed, the company I am occasionally contacted to, say +Bloggs LLP+, want me to appear as an employee, hence the [email protected] email address.
    Using 'Reply To' is not an option, since my personal 'From' email address is still visible.
    Yes, I know I can set up another POP/IMAP account in Mail, have all the [email protected] email go to that inbox, and then when I reply it will have come from [email protected], but I can't set up such an account in Mail since the emails are forwarded automatically and as such I do not have - nor do I wish to have - POP/IMAP access to the [email protected] email account.
    In other software, I have been able to simply enter a 'from' email address into a 'From' field, but this doesn't seem possible with Mail.
    Anybody got any ideas? I'm using Leopard, so is Mail any different on Snow Leopard?

    Sorry, you can't do this in Mail, and I'd love to know which email client you say you've used that does allow this; I've never seen one yet.
    If you want to use that email address and send mail from that account, you need to set it up in Mail. There is no difference in basic features between Mail in Leopard or Snow Leopard, so upgrading to Snow Leopard will not help you in any way.

  • Changing (or eliminatin​g) the signature on email using the tour/email checking..

    Hello all,
      Once again i have a question for all of you.  How do you change/remove  the sig  usaing the tour during an email message? and for that matter  is there a way to set the tour so that it looks for email  at a specified time? or interval?  without me having to do it?  I mean if someone sends me an email  it will pop up on the screen telling me that i have an email, with out me having to  manually  do it.
    thanksGig
    Message Edited by giguchan on 09-09-2009 01:15 AM

    Hi there, these are both aspects of the BlackBerry Internet Service.
    You can change your email signature settings by logging into your BIS account on your computer, or by going to Setup > Email Settings on your BlackBerry Tour.  Once you've logged in and have access, just highlight your email address, press the BB Menu button and select Edit.  Scroll down and you'll see a spot where your signature is entered.  You can delete or change the message there and then just save the settings and exit.
    If your email address is set up correctly here, your BlackBerry should automatically download new messages as they arrived with no need for automatic retrieval.  If you don't have a email address set up in BIS and are manually checking your emails via the BlackBerry Internet Browser, you will need to do the setup.  You can set up most POP email accounts as well as Hotmail, GMail, etc. and some IMAP accounts.  If you need assistance with this, your carrier can walk you through the setup process so that you know for future reference.  In addition, they can set up your phone if you do not currently have a BIS account setup.
    I hope this info helps, but feel free to ask if you have any other questions.
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • I purchased 1DVD Pro.  It isn't working as described in the description.  I have emailed using the support email with the app, however I have received no reply.  I need a refund.  How do I proceed?

    How do I procure a refund for an app that doesn't function as described on the app page?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • How to attach a document using the Send mail component

    Hello,
    I would like to know how to attach a document in a email using the Send mail component.
    There are these nodes into the atom but I don't know how to use it.
    <attachment doc="/ds/grp/doc" pltype="xml">
              <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[@Role='S']/vpf:Msg/vpf:Body"/>
            </attachment>
    Does anyone know ?
    Thank you.

    Hello All,
    Regarding to the mail adapter, here are some updates:
    1. B1i will support sending HTML attachemnt via "Send Email" atom in B1 882 PL09. An example here:
    <attachment doc="test.htm" pltype="htm">
    <![CDATA[<html>
      <head>
        <title>Enter the title of your HTML document here</title>
      </head>
      <body>
        <p>Enter the body text of your HTML document here</p>
      </body>
    </html>]]>
    </attachment>
    2. In addition, B1i will support sending binary attachment and sending html content in Q1,2013.
    Thanks & Best Regards,
    Qiaoli

  • I recently updated my primary email address associated with my Apple ID account. When I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn

    I recently updated my primary email address associated with my Apple ID account.
    Now when I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn't work. I can't figure out how to tell my iPad to login using the updated email address.
    So in effect I'm locked out of the app store and I currently have 26 updates waiting.
    I've tried disconnecting and reconnecting my IPad to iCloud with no luck.. However I cloud happens to show the correct/updated email address.
    Does anyone know how to resolve this?
    Thanks

    Did you change the email for the Apple ID or did you create a new Apple ID? A new Apple ID cannot be used with content that was bought using a different Apple ID.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Reply to my work email using my blackberry email?

    Hello, new to BB here and somewhat technologically challenged...  For whatever reason my Pearl 8130 will recieve emails from my work acct. but when I reply or try to send an email it gives me a failed delivery notice.  So I got a blackberry email and was wondering if it is possible to reply to my work emails using the bb email but without people replying to the bb email?  Did that question make any sense at all?
    Also, was wondering how to make my Outlook and my organizer on my bb sync?  When I loaded the software and tried to configure that, Outlook was not an option?  Again, technologically challenged here....

    Zeinstra wrote:
    Hi...
    Little question. I also had the option "Reply-to" at my previous telecom provider. Since our change to a new provider and upgrade of new BIS software... the new provider say that they don't have rights on the Reply-to anymore... So, this cannot be changed anymore. Is this actualy true, or is it policy of my new provider?
    Hi and Welcome to the Forums!
    Interesting! I've not heard of anyone restricting access to the Reply-To field in BIS. So, just to be sure, are you logging into, via a PC and web browser, the BIS site of the new provider? And, on the "General Settings" tab of the configured account, there is no "Reply to:" field at all? Or is the field visible but just grayed out and inaccessible? And, via your BB BIS interface, you get the same result?
    And, when you switched providers, did they switch your BIS conduits over? Or were they deleted on the old providers BIS site and you had to then create them brand new on the new providers BIS site?
    This is curious indeed!
    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

  • Is it possible to send emails using the package SendMailJPKG in HTML format

    Hi
    I am trying to find out if there is a way to send an email using the SendMailJPKG in HTML format.
    I would also want to add an image in the signature of the email.
    Please help.
    regards

    We are in 9i, should be probably UTL_SMTP. please verify if UTL_MAIL will work on 9iUTL_MAIL is new feature in V10.
    Install a V10 DB, then invoke UTL_MAIL via dblink from V9 to V10.
    Attachments can be done in V9, but it is a non-trivial effort to do so.
    I suspect that GOOGLE can find a working example.

  • How to create a file which i can attach to an email using the same print routine i use for printing

    Hi all,
    In my current code i print a document.
    What I would like to do is attach this file - possibly as a pdf - to an email using the same print routine ( with some additional code obviously)
    Did some research on the web and can't find a solution to this.
    Any help would be appreciated.
    Regards
    Jan Konijnenberg

    What I would like to do is attach this file - possibly as a pdf - to an email using the same print routine ( with some additional code obviously)
    You need to install a printer that 'prints' to a PDF file.  Then send your document to that printer and attach the file.  There are several available, free and commercial.
    http://www.dopdf.com/
    There are other formats which may be suitable.
    http://www.howtogeek.com/150891/how-to-print-to-pdf-in-windows-4-tips-and-tricks/

  • I use the apple email in my mac air. When I foward messages, people that use Outlook receive the text in form of attachment instead of the message opened in the body of the email. How can I solve this?

    I use the apple email in my mac air. When I foward messages, people that use Outlook receive the text fowarded in form of attachment instead of the message opened in the body of the email. How can I solve this? Thanks. Best regards.

    this:
    Did not exist at the point of delivery to the consumer.
    Nor did the white corrosive agent present exist at the point of sale.
    " exposure   of copper   alloys   to   moisture   or   salt   spray   will   cause   the formation  of  blue  or  green  salts  called  verdigris.  The presence   of   verdigris   indicates   active   corrosion."
    I see also 2 contact points with DEEP corrosion pitting not indicative of any defect from the factory.

  • How can I send email using two different email address that both link back to my one exchange account on my Ipad mini

    How can I send email using two different email address that both link back to my one exchange account on my Ipad mini? 
    On my PC I simply have a master return email address and use a POP for the secondary address.  Both are through the one exchange account without a problem.  I need to be able to do the same on my Ipad.

    Ah, I should have made that clear.  My domain didn't come from google.  It was purchased at and is hosted at dreamhost, but I haven't used their email servers in years - I just route everything through gmail.  I actually have a bunch of domains (with websites).
    Gmail has an option that lets someone with custom domains send (and receive) email through gmail using the custom domain once Google confirms proper ownership of the domain (to prevent spammers and such).  Gmail has a setting for "send email as" which allows gmail to be sent using a custom domain as the sender.  I'm pretty sure Apple's old mobileme had this feature too, but I didn't use it.

  • I used the wrong email account when setting up ios8 iCloud drive, how can I change it on my iphone5?

    I used the wrong email account while setting up iCloud drive during the upgrade to ios8, how can I change it on my iphone5?

    See the iCloud account FAQ:Creating an iCloud account: Frequently Asked Questions for info on managing the account towards the bottom of the FAQ.

  • When I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    when I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    Thanks for your reply. Having read through relevant topics it suggests that if I sync my iphone with the correct account on my pc it should use that one thereafter. i will try both.

  • HT1918 How does one organise the apple ID so that one uses the same email address to have an account on both the UL and Belgian itunes stores?

    I have in the past created an Apple ID for use with the UK itunes store, because I want to read in English.  If I sign in it seems that this ID will only allow me to purchase from the UK store.  But I live in Belgium, so I can't download from the UK store.  So I tried to create an apple ID for the Belgian itunes store.  But I want to use the same email address as I used for the first apple ID I made (because I'm fed up of having to remember which email address I used for which account).  When I tried this, I just get a message saying that the email address is already in use for another account (which I know, because it's me who made that account).  Does anyone have a workaround for this?
    cheers
    Andrew

    I have tried again using the same password. and it still doesn't work.
    I'm presuming you went ahead and set up a new Apple ID, yes? Using the same password in more than one Apple ID has worked for me in the past, but I haven't tried it in a while so the tightened security may have changed that. You could use the same password but add "-UK" and "-BE", or something like that, to make it easier to remember.
    I understand what you mean about losing the ability to deal with UK purchased stuff, but this is becoming so inconvenient that I do want to delete that UK apple ID account.  I have looked everywhere I can think of on the apple website (apple id, itunes, support etc) and I can't find a link/eplanation/contact point that deals with deleting apple ID and itune store accounts.  Surely this must be possible?
    It's possible, but Apple is very reluctant to do it, and it's not something a user can do on their own. It would be better to just stop using the UK account rather than trying to get it deleted. Just remove your payment information and there should be little reason to have the account deleted. If you really want to try, though, you'll need to send a message to iTunes support specifying that you want the account cancelled.
    On a completely different matter, I have bought my son an ipod touch.  But since he is younger than 13 years old, how does one go about using the itunes store to get music onto his ipod touch?
    You would need to buy tracks for him; he's too young to have his own iTunes Store account. To control what gets synched to his iPod, this should help:
    http://support.apple.com/kb/HT1495
    Regards.

Maybe you are looking for

  • I think I chose the wrong Installation Option - Now what???

    I installed Leopard right when it came out and love the new OS. But, at the time I did not know what the various installation options meant or implicated. So, I chose the first/default "Upgrade OSX" option. Now, I have not been having any specific pr

  • Business area is not appearing in the FBL1N

    Hello Experts, Please give me your valuable suggestions for below issue. Business area is not appearing for few transactions for particular vendor in TC:  FBL1N, We are using Ecc 6.0. Please advice. Thanks, Ratnam V

  • Enhancement for transaction IW32

    Hi all, I need to create a push button in the application area of transaction IW32 which will trigger a java application. Can anyone provide me with the enhancement name where i can code for its logic. Thanks, Asha

  • Production version issue.

    Dear Guru's,      I have created two version in material master. also I have changed in "opl8"{ production version = Manual selection of production version} but still system is not asking me for production version at the time of creation of productio

  • Can't open my Excel file in Excel 2013

    Hi there. I've just been working with an Excel sheet and saved it, and now I can open it again. It's stuck on 10%. I've reinstalled the whole Office package (Office Home & Student 2013) but that doesn't change anything. Also not the DDE check/uncheck