:eek: HOLY CRAP!
I've tried so many things, gotten so close and I think I'm finally out of luck.
Here is the situation:
[LIST]
[*]Custom record "A" that is child of a customer
[*]Need to send a fax from an "A" record and merge with html template
[*]HTML template needs access to MANY fields that are on the customer record (and other related fields)[/LIST]So right off the bat this isn't possible because a merge from the UI can only access the fields on the record the merge is initiated from. Fine, I will deal with that and start designing a workaround.
Some ideas:
nlapiSendFax() - nope, doesn't exist
nlapiMergeTemplate() followed by nlapiSendEmail('123-456-7894@efaxsend.com') - nope, efax doesn't like the reply-to address
My emails to [EMAIL="*@efaxsend.com"]*@efaxsend.com[/EMAIL] are being bounced by efax because the message-tracking reply-to address isn't matching up with my account.
Here is the error email that appears to have come from NetSuite, I think there is a bounce address in the headers that efax sends to, then NetSuite forwards to me:
<span style="font-size:'2'"> Dear b.sklett___pmddirect&com.a7ee86c9e8@bounces.netsuite.com, Re: efax test!! The fax you recently sent through j2 to 18008869543 did not go through because your email address is not registered for this service. </span>
It doesn't say WHICH email address it detected as the "from" email address. Looking at the full headers for a "NetSuite email" I sent myself:Microsoft Mail Internet Headers Version 2.0 Received: from mail2.ex.dslextreme.net ([192.168.7.105]) by EXVS01.ex.dslextreme.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Nov 2007 23:29:20 -0800 X-PMWin-Version: 2.6.1, Antivirus-Engine: 2.50.6 thread-index: AcgmkBGuT1X1yLFjRtCHmdzVHbf23g== Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Received: from mta1.brinkster.com ([65.182.109.70]) by mail2.ex.dslextreme.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 13 Nov 2007 23:29:19 -0800 Content-Type: text/html; charset="UTF-8" Received: from localhost (localhost.localdomain [127.0.0.1]) by mta1.brinkster.com (Postfix) with ESMTP id F2D2F49D016 for &lt;[EMAIL="sklett.pmddirect.com@ex.dslextreme.net"]sklett.pmddirect.com@ex.dslextreme.net[/EMAIL]&gt;; Wed, 14 Nov 2007 02:27:44 -0500 (EST) Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at Content-Disposition: inline X-Spam-Flag: NO X-Spam-Score: -1.504 X-Spam-Level: X-Spam-Status: No, score=-1.504 tagged_above=-10 required=5 tests=[AWL=-0.363,BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457] Received: from mta1.brinkster.com ([127.0.0.1]) by localhost (mta1.brinkster.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4uGZeQS1eCO6 for &lt;[EMAIL="sklett.pmddirect.com@ex.dslextreme.net"]sklett.pmddirect.com@ex.dslextreme.net[/EMAIL]&gt;; Wed, 14 Nov 2007 02:27:42 -0500 (EST) Received: from nmail0.netledger.com (nmail0.netledger.com [63.209.28.192]) by mta1.brinkster.com (Postfix) with ESMTP id 62F4F49D013 for &lt;[EMAIL="sklett@pmddirect.com"]sklett@pmddirect.com[/EMAIL]&gt;; Wed, 14 Nov 2007 02:27:42 -0500 (EST) Message-ID: &lt;[EMAIL="7172361.1195025263447.JavaMail.root@acct-java044.svale.netledger.com"]7172361.1195025263447.JavaMail.root@acct-java044.svale.netledger.com[/EMAIL]&gt; Date: Tue, 13 Nov 2007 23:27:43 -0800 (PST) From: "Steve Klett" &lt;[EMAIL="sklett@pmddirect.com"]sklett@pmddirect.com[/EMAIL]&gt; Reply-To: "Steve Klett" &lt;[EMAIL="messages.000000.2090.baf7978a5a@messages.netsuite.com"]messages.000000.2090.baf7978a5a@messages.netsuite.com[/EMAIL]&gt; To: &lt;[EMAIL="sklett@pmddirect.com"]sklett@pmddirect.com@ MIME-Version: 1.0 X-NetSuite: 483002 Return-Path: &lt;b.sklett___pmddirect&com.a7ee86c9e8@bounces.netsuite.com&gt; X-OriginalArrivalTime: 14 Nov 2007 07:29:19.0305 (UTC) FILETIME=[11A23B90:01C82690]
it has my correct email address is the FROM field. I would think efax would just look at this, but maybe they check the REPLY-TO as well for some reason? I'm very defeated at this point. I MUST figure out how to do this, but don't know what other options I have left? Can anyone think of anything? Wait! - let me knock a few off the potential list to save time:- create all the non record "A" fields I need to merge as custom fields on record "A" and deploying SS to sync them up. Too many fields, this is not a viable solution. That's all I have at this time. I really wish there was an extra flag on nlapisendemail that would leave the tracking functionality off the email. I also wish there was a fax command. I also wish you could merge across multiple records. Cash Money to the person that comes up with a solution (SS making a call to a custom web service that invokes eFax Developer integration and uses NetSuite Web Service to post the message to the record doesn't count) NetSuite: How difficult would it be to add a nlapiSendFax() command? Please??????? -Steve