# Problem-using-smtpclient - send

**URL:** https://discourse.julialang.org/t/problem-using-smtpclient-send/94692
**Category:** New to Julia
**Tags:** question, package
**Created:** [February 15, 2023, 3:55pm UTC](https://discourse.julialang.org/t/problem-using-smtpclient-send/94692 "2023-02-15T15:55:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Vishwas\_Reddy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vishwas_reddy/32/46934_2.png) [@Vishwas\_Reddy](https://discourse.julialang.org/u/Vishwas_Reddy)
#### Post date: [February 15, 2023, 3:55pm UTC](https://discourse.julialang.org/t/problem-using-smtpclient-send/94692/1 "2023-02-15T15:55:02Z")

</div>

```julia
opt = SendOptions(
        isSSL = true,
        username = "xyz@gmail.com",
        passwd = "***"
      )
      
      url = "smtp.freesmtpservers.com:25"
      
      subject = "SMPTClient.jl"
      message = "Don't forget to check out SMTPClient.jl"
      
      to = ["xyz@gmail.com"]
      from = "xyz@gmail.com"
      
      body = SMTPClient.get_body(to, from, subject, message)
      rcpt = vcat(to)
      Send(url, rcpt, from, body, opt)

```

here send() method is not working this method is directing me to sockets.jl send method don’t understand why ? is there any alternative to send it any sample example will be good

this below suggestion its giving like why ? :-

what UDPSocket ? and what should i pass other parameters  
send(sock::Sockets.UDPSocket, ipaddr::Sockets.IPAddr, port::Core.Integer, msg::Core.Any)

```julia

```
