Is there a program to preview an HTML ad in outlook 2007? - outlook-2007

So like many online companies, we send e-mail advertisements. Outlook 2007 has some quirky HTML rules so things that look fine in any browser, when sent to Outlook 2007, look horrific.
Is there a program where I can preview what the HTML would look like in Outlook 2007?

You are not alone ;-) What I do is try sending the email to me (alone) and then see how it comes out. AFAIK there are no software which can show you the preview ;-)
Edit: Check this question which some useful which you use while sending HTML emails.

I faced the same issue because of the switch from IE to Word as the rendering engine in Outlook 2007.
So I have been using Word 2007 to preview the HTML file to see how it looks, before sending it to Outlook. It has so far worked fine in my case. Try it and let us know if it works for all your cases.

Hello sendning Mass Mails throw Outlook isnt a good idea.
There are Many Opensource Massmailer Try http://sourceforge.net/projects/tellmatic/
And a preview option isnt aviable for html files nor other things in outlook no matter which version 2003 or 2007 or 2010.

Ive had exactly this same issue.
What i had to do is download outlook 2007 to sort this out, and then created a program to send myself emails to test.
Alternatively you can use this site to send emails to any email address:
http://ctrlq.org/html-mail/
Old thread i know, but i think my answer can help anyone that stumbles across this question much as i did.

Related

Add embedded image to an email with TIdAttachmentFile [duplicate]

Anyone know of a good example of generating HTML e-mail with embedded images and an alternate text part? I need to generate some tabular reports in HTML and would like to embed logos and other images.
I believe Indy can do this with some work, but I was hoping someone could point me to a good example as a starting point. I am open to using libraries other than Indy and commercial solutions provided source is available. Quality and time to implement is more important than cost. The solution also needs to support SMTP based delivery to a mail exchanger.
The other item on my wish list is to be able to leverage FastReports, TRichView or similar tool to generate the HTML message content. There are HTML output filters available for both, but I have not had the opportunity to do any testing. Any feedback on this subject would be appreciated.
Thanks in advance!
David
Read the following articles on Indy's website, they explain the proper way to populate a TIdMesaage for HTML:
HTML Messages
New HTML Message Builder class
These days I use Clever Component's email client, though not free.
The TurboPower Internet (OpenSource) controls worked great for me in the past.
function data64(const filename:string): ansistring;
// uses Classes, IdGlobalProtocols, EncdDecd;
const
crlf = #13#10;
begin
result := '';
with TIdMimeTable.Create do
try
result := 'data:'
+ GetFileMIMEType(filename) + ';';
finally
Free;
end;
with TMemoryStream.Create do
try
LoadFromFile(filename);
result := result + 'base64,' + crlf
+ EncodeBase64(Memory,Size);
finally
Free;
end;
end;
We tried this years ago with Indy and embedded cid: images like this:
https://forums.codegear.com/thread.jspa?threadID=17473
We never got it stable, each time there was another mail reader that barfed (if we got it working in Outlook, then Thunderbird didn't accept it, or Outlook Express, or, etc, etc).
In the end we did it with .NET using AspNetEmail and it worked like a charm.
--jeroen
It all depends on how many different remote mail clients you have to be able to support. I believe that the well-known Delphi libraries which support SMTP/Mime will do a reasonable job, but they may leave you with support problems when one of your mail users finds that their recipient cannot see a properly formatted e-mail.
I recommend visiting Jacob Palme's site which will give you an idea of some of the problems that you may encounter. It is a little out-of-date, perhaps, but in summary, however you build and send your complex MIME e-mail, you will encounter one or more mail clients which cannot handle the syntax properly. The site also has links to some useful examples of constructions which you can examine and test.
I do not mean to imply that you have to roll your own logic as we did: a good packaged solution will probably be successful in the great majority of cases. We wrote our own Delphi code to handle this some years ago, so I will leave it for others to give you up-to-date information about what is on the shelf now.

Display a SSRS reports in an iPad App [duplicate]

This is more of a general "how do I get started" question. I would like to display my company's SSRS Integrated Sharepoint Reports in an iPad App, but I'm not sure where to start. Googling this concept didn't return any results.
We would like a native feel without displaying the reports in a Web View container.
Any ideas?
Thanks in advance!!
Maybe you can use the webservice to get the parameters and build a little query interface. You'd have to figure out what to put in your dropdown boxes I believe.
Get params with that and then submit call the render method which would return the report to you in the desired format. Be sure to read the remarks there.
I have no clue if this would actually work. My organization built an interface like this for reporting services 2000, but it used the URL-based submitting method.
Good luck, I'd love to know if this works for you.
Using the web service is definitely your best bet. You should be able to query all the parameter information you need from the service and then render it in various formats (html is probably your best bet).
I know it's definitely doable, as I've used the web service to build custom scripts that render and and send out PDF versions of reports. It would essentially be the same task. You can find plenty of information on the web for working with it.
look at http://reports4you.software4you.com
The Website shows a server based solution to display reporting services reports on the ipad (including autentification, etc.)
Yours
Dirk
With SQL Server 2012 SPI, you can now access a SSRS report from an iPad by browsing the SharePoint library or viewing the report in a Web part.
For more information about viewing and interacting with SSRS reports on the iPad, see View Reporting Services Reports on Apple iOS devices (SSRS iPad).

What free Delphi component can you recommend for reading an email and an attachment?

What free Delphi component can you recommend for reading an email and an attachment?
I mean reading an email from pop3 server.
I use Delphi 7.
Thank you.
I'd start by trying Indy's TIdPop3 component. I think it's shipped as standard with most Delphi versions.
Try Synapse from Lukas Gebauer. Actually it's not a component, it's just a set of units, which you simply add to your uses list. It's simple, stable and verified by many users.
Check these links ...
Synapse - download pageSynapse - tutorials pageSynapse - POP3 simple example

Controlling the mail client from delphi

I have an issue here where we need to control outlook from Embarcadero Delphi 2010.
we used today some thirdparty components for opening the mail sending window, this worked some timeago. but now it seem to fail on newer outlook versions.
are there any component out there dedicated to controlling outlook from Delphi, or are there any MAPI clients that can work as a better replacement for this.
what we need to do basically is to:
1. Start new message in outlook (sending recipient as parameter)
2. receive the sent message so we can store it
3. drag and drop messages from outlook to our application.
if the enduser do not use outlook, a normal MAPI would suffice as replacement.
where do I find a good robust component for doing such job for me ?
For the first two steps regular OLE automation using the Outlook2000.pas unit that comes bundled with Delphi should work fine though you might want to take a look at Dmitry Streblechenko's Redemption library: http://dimastr.com/redemption/ which simplifies many of the more low-level (Extended-)MAPI tasks significantly.
For intercepting the sent message you should create an instance of TItems and connect it to the folder reference you could get from OutlookApplication.Session.GetDefaultFolder(olFolderSentMail). You can then assign an event handler to its OnItemAdd event.
For drag & drop from Outlook into your application you can take a look at Anders Melanders excellent (and free) Drag&Drop library (includes examples for interacting with Outlook): http://melander.dk/delphi/dragdrop/
I've used these components a long time ago and they were fantastic
http://www.add-in-express.com/add-in-delphi/
Here are some features for Outlook
http://www.add-in-express.com/add-in-delphi/programming-outlook.php

Interacting with Outlook appointments using rails

I have a rails application running on a Linux server. I would like to interact with Outlook/Exchange 2003 appointments from the rails application. For example, certain actions should trigger sending an appointment, and then preferably accepting/canceling the appointment in Outlook should trigger events in the application.
Failing this, is it possible to publish calendars that Outlook 2003 can read without requiring Outlook plugins? I note that Outlook 2003 does not support ical without plugins for example. Similarly, if this is not easily doable in Ruby, but is in another language (such as Perl for example) running on Linux then those suggestions would be welcome.
Any advice on how to achieve this, or where to start looking for answers would be gratefully received.
Outlook appointments are just e-mails with special header information. There's some information in this tutorial on the required parts. I sent a few meeting invites from my Outlook to my Gmail account and took a look at the raw headers there - you can figure most of the protocol out from that.
The iCalendar specs may help you, as well.
Thanks for everyones help. I found something that showed me how to do this with Perl, and ported it over to ruby. I've blogged about it for those looking for a solution
If you can upgrade to Exchange 2007, you can use Exchange Web Services that is more powerful and convenient to use than WebDAV.
At work, I inherited a Rails app that allow users to create single appointments. I was asked to write code to link those appointments in the app to users' outlook calendars, so that they are always in sync. Sounds to me very similar to what you want to do.
I don't think I'm allowed to publish the exact code I wrote though. Anyway I'll give you a bit idea on how I addressed it.
Exchange Web Services only provide API in C# (no surprise, it's Microsoft. Technically, you can use other languages since it's actually SOAP.). I wrote a middleware in C# that does the sync between Exchange server and the Rails app. When users do scheduling in the app, changes are sent to the middleware so changes can be reflected to their outlook calendars. Meanwhile, the middleware registers Push Notification subscriptions for all users -- every time changes are made in Outlook, the middleware will be immediately notified, which in turn faithfully reflect those changes in the app as well. Of course, recurring appointments are also supported.
Hope that helps you.
Take a look at the project RExchange on github.
For accessing appointments, you can just access the Calendar folder on Exchange using WebDav. For creating appointments, please refer to RFC2445 for details.
Further to ceejayoz's comment, you can also use ActionMailer to catch the replies that are sent back, and act on them - you'll need some form of unique id in a place that will be included in the reply though.

Resources