Link to home
Start Free TrialLog in
Avatar of MMsabry
MMsabry

asked on

attribute of cfmail

Hi, I was wondering
with cfmail can one use an attribute like
smtp.FromName which is used with asp mail?
this is used to display a name in the from field on the mail header instead of/and showing the e-mail address
thanks
Avatar of pinaldave
pinaldave
Flag of India image

Hi MMsabry,
you can use from to display any text to the receipient...
how to use and what is that... http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-pta.htm

Regards,
---Pinal
Hi MMsabry,
<cfmail
   to = "recipient"
   from = "sender"
   cc = "copy_to"
   bcc = "blind_copy_to"
   subject = "msg_subject"
   replyto = "reply_to_addr"
   failto = "fail_message_addr"
   username = "user name"
   password = "password"
   wraptext = "column number"
   charset = "character encoding"
   type = "msg_type"
   mimeattach = "path"
   query = "query_name"
   group = "query_column"
   groupcasesensitive = "yes" or "no"
   startrow = "query_row"
   maxrows = "max_msgs"
   server = "serverspecs"
   port = "port_id"
   mailerid = "headerid"
   timeout = "seconds"
   spoolenable = "yes" or "no">

(Optional) Mail message body and/or cfhttpparam tags

</cfmail>

Regards,
---Pinal
ASKER CERTIFIED SOLUTION
Avatar of anandkp
anandkp
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial