# Is there exemple about sending email?

**URL:** <https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292>\
**Category:** Open AT\
**Created:** [February 16, 2006, 11:40am UTC](https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292 "2006-02-16T11:40:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![malek77](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@malek77](https://forum.sierrawireless.com/u/malek77)\
**Post date:** [February 16, 2006, 11:40am UTC](https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292/1 "2006-02-16T11:40:44Z")

</div>

Hi all  
Is there someone who can give us an exemple of sending email form a module (with Ip ed\_lib or with At# Commands).  
I have seen the exemple given in the documentation but somme parametres i’ve not understand.

Thanks

---

<div class="post-metadata">

**Author:** ![malek77](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@malek77](https://forum.sierrawireless.com/u/malek77)\
**Post date:** [February 20, 2006, 5:10pm UTC](https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292/2 "2006-02-20T17:10:44Z")

</div>

Hi  
I’ve succes to send email by AT# Commands  
But not using edlib, because i’ve a compilation error in the declaration of varaible of type “ed\_EmailSetupParams\_t”.

```auto
//
ed_EmailSetupParams_t ParamEmail;
//
```

Gives a following error and warning:  
appli.c:47: parse error before “ParamEmail”  
appli.c:47: warning: data definition has no type or storage class

Please if there is one who can tell me if there is an error in the syntax of the predefined type ? because i’ve taken it from he official documentation.

Thanks

---

<div class="post-metadata">

**Author:** ![Yul](https://avatars.discourse-cdn.com/v4/letter/y/7ba0ec/32.png) [@Yul](https://forum.sierrawireless.com/u/Yul)\
**Post date:** [February 20, 2006, 10:51pm UTC](https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292/3 "2006-02-20T22:51:59Z")

</div>

Hi Malek,

I’ve noticed there is an error in the documentation. “ed\_EmailSetupParams\_t” should be corrected to “ed\_emailSetupParam\_t”.

Hope this helps.

Yul

---

<div class="post-metadata">

**Author:** ![malek77](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@malek77](https://forum.sierrawireless.com/u/malek77)\
**Post date:** [February 21, 2006, 10:31am UTC](https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292/4 "2006-02-21T10:31:37Z")

</div>

Thanks very much for reply  
But “ed\_emailSetupParam\_t” don’t resolve a problem, please where u have found the correction ?

---

<div class="post-metadata">

**Author:** ![malek77](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@malek77](https://forum.sierrawireless.com/u/malek77)\
**Post date:** [February 21, 2006, 10:42am UTC](https://forum.sierrawireless.com/t/is-there-exemple-about-sending-email/292/5 "2006-02-21T10:42:28Z")

</div>

Hi  
Yes i’ve found the error : “ed\_EmailSetupParams\_t” should be replaced to “ed\_emailSetupParams\_t”
