David - please attempt to reproduce this soon, and if confirmed, take a
look at the problem. Thanks.

** Changed in: zorba
   Importance: Undecided => High

** Changed in: zorba
     Assignee: (unassigned) => David Graf (davidagraf)

** Changed in: zorba
    Milestone: None => 2.7

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  smtp:send does not set sender name in email

Status in Zorba - The XQuery Processor:

Bug description:
  When sending an email with smtp:send the name of the sender is no
  longer included in the mail. Previous versions of zorba handeled this

  To reproduce:
  * replace password or use other mail account
  * insert your email as reciever

  Your mailclient will NOT display "TESTNAME (28m...@evaluescience.com)"
  as sender as expected but only "28m...@evaluescience.com"

  import module namespace smtp = 
  import module namespace imap = 
   import schema namespace email = 'http://www.zorba-xquery.com/modules/email';

  declare variable $mailtest:host as element(email:hostInfo) := 
        <email:password>INSERT CORRECT PASSWORD HERE</email:password>

   let $mail := validate strict {
            <email:subject>Test Mail</email:subject>                   
                    <email:name>Alexander Kreutz</email:name>                   
            <email:multipart contentType="multipart/alternative">            
               <email:content contentType="text/plain" charset="UTF-8" 
                 "Bla Bla Bla"
               <email:content contentType="text/html" charset="UTF-8" 
                 fn:serialize(<html><head></head><body>Bla bla 
        </email:message> }
      smtp:send($mailtest:host, $mail);

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to