1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

formatting cfmail

Discussion in 'Programming' started by Jamie18, Oct 9, 2007.

  1. #1
    hey.. i'm trying to fire off some cfmail but i'm not sure if it's a possibility to format the content at all... i'll have something like the following..

    
    <cfmailto="#someclient#" from="someemail" Subject="#subject#">
    	Hello #username# 
    				
    	Some message....
    
    	some contact information..
            [B]Name               Email             Phone[/B]
    	#name1#	        #email1#        #phone1#
    	#name2#         #email2#        #phone2#
    </cfmail>
    
    Code (markup):
    i'm hoping i can somehow ensure that the columns in the contact information all line up regardless of name or email length... am i able to do this using html with tables or something?

    i'll take some time to screw around and try to find a solution but any suggestions are appreciated.
     
    Jamie18, Oct 9, 2007 IP
  2. Jamie18

    Jamie18 Peon

    Messages:
    201
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well i found out quickly that i just had to add type="text/html" as a cfmail attribute to get the ability to do whatever i wanted in formatting the message..

    but now i've got another problem..

    here is my cfmail tag..

    <cfmail
    to="#email_receiver#"
    cc="#valuelist(ccemails.emails)#"
    from="myemail@mydomain"
    subject="Email subject"
    type="text/html">

    ......

    </cfmail>

    the problem i'm having is when one of the email addresses in the to or cc list is incorrect i get an email back to the 'from' address saying that the message couldn't be sent, but it doesn't say which address it couldn't be sent to..

    instead i get a message like this..

    Your message did not reach some or all of the intended recipients.

    Subject: message subject
    Sent: 12/10/2007 11:49 AM

    The following recipient(s) could not be reached:

    {}@mydomain on 12/10/2007 11:49 AM


    when the incorrect e-mail i entered was actually bademail@somedomain.. i want the message to read

    Your message did not reach some or all of the intended recipients.

    Subject: message subject
    Sent: 12/10/2007 11:49 AM

    The following recipient(s) could not be reached:

    bademail@somedomain on 12/10/2007 11:49 AM
     
    Jamie18, Oct 12, 2007 IP
  3. gmopinillosv

    gmopinillosv Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi, maybe you can help me, I want send email with flash - coldfusion but i need the sript coldfusion. if you have one example I will be gratefull for ever.
     
    gmopinillosv, Nov 16, 2007 IP
  4. Jamie18

    Jamie18 Peon

    Messages:
    201
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sorry.. i can't be of any help.. never worked with flash before
     
    Jamie18, Nov 19, 2007 IP