Results 1 to 3 of 3

Thread: emails module. no email address field

  1. #1
    harrywood is offline Member
    Join Date
    Mar 2009
    Posts
    7

    Default emails module. no email address field

    Using a SOAP get_entries call I can get the following fields from the 'emails' module (I've included example values returned)

    Why is there no field for email address? How do I (using SOAP) get the email address an email came from? Or do I have to query the mail system somehow? message_id seems to have part of the value I want, but it is garbled.

    Code:
    assigned_user_name = harry
    team_name = Triage
    modified_by_name = harry
    created_by_name = admin
    id = 2ddcf0bc-d1c4-a74c-3c03-4a949ffc939c
    date_entered = 2009-08-26 02:37:45
    date_modified = 2009-08-26 13:13:19
    assigned_user_id = de77be0e-eccd-a7ba-b505-49915b67d2f9
    modified_user_id = de77be0e-eccd-a7ba-b505-49915b67d2f9
    created_by = 1
    team_id = 29821d92-e11a-4185-94f0-499d82075e76
    deleted = 0
    from_addr_name = 
    reply_to_addr = 
    to_addrs_names = 
    cc_addrs_names = 
    bcc_addrs_names = 
    raw_source = 
    description_html = 
    description = 
    date_sent = 2009-08-26 01:55:00
    message_id = <C3085584A64E19428AAB2726BDADF0E601C56510@mail.alcatek.c.t>c0bed37d-5a6c-10e6-4004-49493abfb3ed
    name = RE: [CASE:6836] question about OpenStreetMap
    type = Inbound
    status = Read
    flagged = 0
    reply_to_status = 0
    intent = createcase
    mailbox_id = c0bed37d-5a6c-10e6-4004-49493abfb3ed
    parent_type = Cases
    parent_id = 1d60256d-53c3-6fd1-d396-4a7a7f42d2a8

  2. #2
    harrywood is offline Member
    Join Date
    Mar 2009
    Posts
    7

    Thumbs up Re: emails module. no email address field

    OK it turns out "from_addr_name" should have the email address in it, but for some reason it chooses to blank values when doing a "get_entry_list" SOAP request. Meanwhile "get_entry" SOAP request returns values for that field and also for all the other fields which were showing up blank before.

    Looks like I'll have to request email records individually, which is rather sub-optimal.
    Last edited by harrywood; 2009-09-01 at 11:47 AM.

  3. #3
    harrywood is offline Member
    Join Date
    Mar 2009
    Posts
    7

    Default Re: emails module. no email address field

    Actually from_addr_name isn't strictly the field I'm wanting. It has the email address in it (most of the time) but also the name. So it's a string looking something like "Bob Smith <bob.smith@gmail.com>" I've written logic to parse out the email address in <brackets>, because this is the bit I really want. That all works fine except...

    ...there's still maybe 20% of emails where this from_addr_name is coming through blank. I guess this is because in some emails, internally within the email itself, it didn't include this from address "name". But I dont actually want the from "name". I just want the sending email address.

    Sugar has this information! In sugar I can view one of these emails where it is coming through blank, and I can see the sender address. So I'm back to my original question. How do I access a from adress in a SOAP request? or do I have to access the mail system somehow?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using Lead Email address when sending Emails
    By malcolmh in forum Feature Requests
    Replies: 1
    Last Post: 2009-07-31, 01:36 PM
  2. No Email address field while exporting
    By shamimwilson in forum Help
    Replies: 0
    Last Post: 2009-03-30, 11:47 AM
  3. email address from relate field
    By momigno in forum Help
    Replies: 1
    Last Post: 2009-02-04, 05:01 PM
  4. How To: Popup invalid email address when sending emails
    By eggsurplus in forum Developer Help
    Replies: 0
    Last Post: 2008-07-17, 03:46 PM
  5. Replies: 0
    Last Post: 2006-04-14, 03:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •