It is currently Thu Jan 18, 2018 1:05 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Bug on Mail
PostPosted: Sat Jan 13, 2018 5:22 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Dec 04, 2015 9:26 pm
Posts: 230
hi everyone !

i am trying use mail functions , with gmail and smtp example dont working ...


Top
 Profile  
Reply with quote  
 Post subject: Re: Bug on Mail
PostPosted: Sun Jan 14, 2018 12:06 am 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1100
Not a bug without more info.


Top
 Profile  
Reply with quote  
 Post subject: Re: Bug on Mail
PostPosted: Sun Jan 14, 2018 4:29 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Dec 04, 2015 9:26 pm
Posts: 230
every emails smtp servers dont works ...

gmail
my own hosting
yahoo

with this code >

Code:

  InitNetwork()

  Login$ = "mydomain@mydomain.com"
  If CreateMail(0, Login$ , "Hello")
    AddMailRecipient(0, "otherusermail@domain.com", #PB_Mail_To)
    SetMailBody(0, "This is the body")
    Debug SendMail(0, "smtp.domain.com", 587, #PB_Mail_UseSSL, Login$, "********")
  EndIf




dont works :c
what do i need to do ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Bug on Mail
PostPosted: Sun Jan 14, 2018 8:05 am 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1100
Still not a proven bug. I'd say it's just your mail settings needing tweaking (port, SSL on/off, app password needed if using Gmail instead of web password, etc).


Top
 Profile  
Reply with quote  
 Post subject: Re: Bug on Mail
PostPosted: Sun Jan 14, 2018 8:07 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Dec 04, 2015 9:26 pm
Posts: 230
i need open my computer port ? because i do everything to try it ... and dont works !


Top
 Profile  
Reply with quote  
 Post subject: Re: Bug on Mail
PostPosted: Sun Jan 14, 2018 8:14 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1495
Location: Uttoxeter, UK
@skinkairewalker,
Please take a little look at the following thread, it might help.
http://www.purebasic.fr/english/viewtopic.php?p=475184#p475184

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Bug on Mail
PostPosted: Mon Jan 15, 2018 12:02 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Jul 03, 2004 9:04 am
Posts: 202
Location: Sydney Australia
Suggest testing code on other smtp services too. I remember doing this a few months back and found Google was blocking it. I went into the account and unblocked it, lessen security, then OK.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye