You are giving 'hello' as an email address to CC.

~Ryan

On Sat, 19 Sep 2015 at 12:08 Anup Panwar <[email protected]> wrote:

> Am trying to send email throw node-ses but am getting error ..
>
> { Type: 'Sender',
>
>   Code: 'InvalidParameterValue',
>
>   Message: 'Missing final \'@domain\'' }
>
>
>
> *Here is my code *
>
>
>
> var ses = require('node-ses')
>
>   , client = ses.createClient({ key: 'secrekey', secret: 'secret });
>
>
>
> // Give SES the details and let it construct the message for you.
>
>
> client.sendEmail({
>
>    to: '[email protected]'
>
>  , from: '[email protected]'
>
>  , cc: 'hello'
>
>  , bcc: ['[email protected]']
>
>  , subject: 'greetings'
>
>  , message: 'your goes here'
>
>  , altText: 'plain text'
>
> }, function (err, data, res) {
>
>  if(err){
>
> console.log(err);
>
> }
>
> else{
>
> console.log(data);
>
> }
>
> });
>
>
>
> can anyone please tell what is the problem.
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/0f1f3a7d-c362-4342-bdac-95c635eca28b%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/0f1f3a7d-c362-4342-bdac-95c635eca28b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAGjmZGwjcWTFmOgXLrppBDBB13an-cn5Qob%3DGwBt%2B8wJmziN-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to