Email script adds a ghost address in email client

Avatar

11-12-2008

I am using the following script to send an attached PDF back to my client when their customers complete and submit the form. Everything works well, except that it lists the email address twice in the "to" field (the second is not a complete address so it fails).



the result is that one email goes through as expected, but the customer also receives an "undeliverable" notice in their inbox.



has anyone seen this before? or can you see the problem with the script?



Here is the script:



var iVar = 0;

var oDoc = event.target;



if (iVar = 0)



oDoc.mailDoc({

bUI: true,

cTo: "markhambd@yahoo.com"

cSubject: "Questionnaire",

cMsg: "Seller Questionnaire",

});



thank you for your help.



Brian

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

12-12-2008

I have not seen that before can you post the form to livecycle8@gmail.com and I will have a look.