Hi,
I have a couple of vvMail questions:
1. Can vvMail be able to send an email to multiple addresses.
I have tried sending an email to multiple addresses (including multiple bcc) but the email only sent to the first person (not even including bcc).
What should be the proper value to be loaded to vvMail data structure prior to calling vvMail_send?
Here is the data I used:
2. Can I add an attachment to vvMail?
I noticed that one can specify a path to a file (is image file ".jpg" a good candidate with vvMail?) for vvMail attachment.
At first, I tried specifying a path via QNTC. It did not set the file as attachment. I thought it might be due to the quirky nature of QNTC, I then copied the image file from QNTC to a temp folder onto IFS and use this copy instead. As a result, the file did not get attached to the final email.
The vvMail worked if I specified the image file as an embedded object via a HTML tag.
Overall, the vvMail worked except the above 2 problems I encountered.
I have a couple of vvMail questions:
1. Can vvMail be able to send an email to multiple addresses.
I have tried sending an email to multiple addresses (including multiple bcc) but the email only sent to the first person (not even including bcc).
What should be the proper value to be loaded to vvMail data structure prior to calling vvMail_send?
Here is the data I used:
Code:
dsMail.to: dleong@targetcorp.com dsMail.bcc: dleong@someaddress.com,first.last@gmail.com dsMail.from: dleong@srccorp.com dsMail.subject: TEST 7 dsMail.body: <p>Test #7</p><br><p><img src="http://CELS7/Mailer/test/YearofLove_Clby.jpg" height="550" border="0" alt="YearofLove_Clby.jpg"></p> dsMail.attach: /tmp/0000000024YearofLove_Clby.jpg dsMail.alias: YearofLove_Clby.jpg
I noticed that one can specify a path to a file (is image file ".jpg" a good candidate with vvMail?) for vvMail attachment.
At first, I tried specifying a path via QNTC. It did not set the file as attachment. I thought it might be due to the quirky nature of QNTC, I then copied the image file from QNTC to a temp folder onto IFS and use this copy instead. As a result, the file did not get attached to the final email.
The vvMail worked if I specified the image file as an embedded object via a HTML tag.
Code:
sBody = %trim(sBody) + '<p><img src="'+%trim(dsMail.imagename)+'"'+ ' width="550"'+ ' height="550"'+ ' border="0"'+ ' alt="'+%trim(sName)+'"></p>'; vvMail.body = sBody;
Comment