SMTP mailer supports html, Attachments, in AND secure GMAIL

Developed or developing a new product in PureBasic? Tell the world about it.
Fredi
Enthusiast
Enthusiast
Posts: 143
Joined: Wed Jul 23, 2008 10:45 pm

Post by Fredi »

First thanks KIKI for your great work :D

I have two question about this code:

1. Why FromAddress not working For example in gmail, and gmail and yahoo webmail show username of logined gmail in from field?

2. How to ensure email is successfully sent? If we use COMate_GetLastErrorCode() after line objemail\invoke("Send") it is persuaded way to know email is sent ok? If it's true result of successfully sent mail must be 0 ?
KIKI
Enthusiast
Enthusiast
Posts: 145
Joined: Thu Dec 28, 2006 11:49 am
Location: FRANCE

Post by KIKI »

Fredi wrote:First thanks KIKI for your great work :D

I have two question about this code:

1. Why FromAddress not working For example in gmail, and gmail and yahoo webmail show username of logined gmail in from field?
Apparently it's a restriction from GMAIL to stop spam
2. How to ensure email is successfully sent? If we use COMate_GetLastErrorCode() after line objemail\invoke("Send") it is persuaded way to know email is sent ok? If it's true result of successfully sent mail must be 0 ?
I must see documentation about CDO to see yhe code return in case of sucess and fail and after ibtercepting it. I will see that this evening
effis
User
User
Posts: 42
Joined: Thu May 27, 2010 11:22 am

Re: SMTP mailer supports html, Attachments, in AND secure G

Post by effis »

it's doesn't work for me
loulou2522
Enthusiast
Enthusiast
Posts: 495
Joined: Tue Oct 14, 2014 12:09 pm

Re: SMTP mailer supports html, Attachments, in AND secure G

Post by loulou2522 »

Can someone says me while this object doesn't work sinc PB 5.50
Thanks in advance
Post Reply