The problem here is that the people that are reading these e-mails, do not
have a Internet connection when they are reading. The mail is being
collected by a company mailserver and then routed through the network to the
different clients. The clients themselves do not have a connection to the
Internet, thus can not see the images if they are not inline.
That is why I do not use CFMail.

Erik-Jan

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Matt Robertson
Verzonden: Wednesday, January 29, 2003 20:47 PM
Aan: [EMAIL PROTECTED]
Onderwerp: RE: [IMail Forum] Create your own SMTP messages


Second that.  CFMAIL with type=html will do this perfectly.  Sort of:)

It'll do it perfectly in the sense that your client can generate an html
page in your application, with images and whatnot, and store that in a
db.  Then you output that html into the body of CFMAIL.

Storing the images on your server and using fully formed urls to point
to them is the easiest way to do this, rather than embedding images.
Too much trouble to do in CF for me.

What I mean by ''sort of'' above is that CFMAIL stinks as an
RFC-compliant mailer without some help.  Cfmailparam fixes this.
Depending on your CF version, some (but maybe not all) of the statements
below should go into your message - cfmx is slightly better with
headers.  Plug in your own values into these if you use any.  Figure
reply-to is required.  Message-ID is not essential as Imail will put one
in for you, but is a good base to cover on general principles.

<cfmailparam name="X-Mailer" value="CMProMail">
<cfmailparam name="X-Priority" value="1">
<cfmailparam name="Reply-To" value="#Settings.AdminEmail#">
<cfmailparam name="Message-ID"
value="<#CreateUUID()#@#Settings.EmailServer#>">
<cfmailparam name="Content-Type" value="#variables.ContentValue#">
<cfmailparam name="Mime-Version" value="1.0">.

--------------------------------------------
 Matt Robertson       [EMAIL PROTECTED]
 MSB Designs, Inc.  http://mysecretbase.com
--------------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Evans Martin
Sent: Wednesday, January 29, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Create your own SMTP messages


Why not use the CFMail tag?


----- Original Message -----
From: "E.J. Jaquet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 9:54 AM
Subject: RE: [IMail Forum] Create your own SMTP messages


> The reason I am doing this is because I need to create an e-mail with
inline
> images from a website. The user on the website can create a HTML
message,
> and it then has to be sent via Coldfusion. I already have a script
that
puts
> together the file, but the header and the body are both in the same
file.
>
> And I can't seem to find any sample files to see what the format
should
look
> like. There aren't any in the spool dir, even when I sent myself a
mail...
>
> Any thoughts?
>
> Erik-Jan
>
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens R. Scott Perry
> Verzonden: Wednesday, January 29, 2003 16:07 PM
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: [IMail Forum] Create your own SMTP messages
>
>
>
> >Does anyone know if it is possible to create your own (rfc 822
compliant)
> >smtp messages
>
> That is both easy and hard.  It's very easy to do if you know how (the
fact
> that you know about RFC822 is very good); it's nearly impossible if
you
> don't know how (thousands upon thousand of companies have had
programmers
> write scripts to send mail rather than use a real mail client, and
failed
> miserably -- so bad, in fact, that they have caused the amount of spam
> people receive to increase).
>
> It is not recommended to create your own SMTP E-mail, unless you are
> willing to take the time to learn exactly how to do it.
>
> >and put them in the Spool dir of Imail. When I try it, it does
> >not get sent. What fileextension is needed?
>
> Many (all?) file extensions will work.  However, the files in the
IMail
> spool directory are in a proprietary file format -- so you have to
rely on
> luck as well as skill to make sure that it works properly.  If you
*must*
> do it, you need to have both a Q*.SMD and D*.SMD file, where the
D*.SMD
> file has the actual E-mail and the Q*.SMD file has the recipient
> information (you'll need to analyze some Q*.SMD files to figure out
how it
> is formatted).
>
> Most likely, sending the mail with a real mail client would be better,
> however.  Is there something specific that writing your own would be
able
> to accomplish that might not be possible with a regular mail client?
>
>                                                     -Scott
> ---
> Declude JunkMail: The advanced anti-spam solution for IMail
mailservers.
> Declude Virus: Catches both viruses and vulnerabilities in E-mail,
with no
> annual licensing fees.
>
> ---
> [This E-mail was scanned for viruses by Declude Virus
> (http://www.declude.com)]
>
>
> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
> List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>
>
>
>
> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
> List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>


---
[This E-mail scanned for viruses by Declude Virus]


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to