Author |
|
savic.prvoslav Newbie
Joined: 15 December 2008 Location: Yugoslavia
Online Status: Offline Posts: 31
|
Posted: 23 January 2009 at 5:36am | IP Logged
|
|
|
Hi, i would like to import contacts from gmail yahoo etc...into webmailphp. is there some php that will do this for me like there is for login register and so on or i have to do it my self connecting to the database and "insert into...". Please help me.
http://www.filestacker.com
|
Back to Top |
|
|
savic.prvoslav Newbie
Joined: 15 December 2008 Location: Yugoslavia
Online Status: Offline Posts: 31
|
Posted: 23 January 2009 at 5:47am | IP Logged
|
|
|
just to add i have php that extracts contact from gmail yahoo... so all what i need is to have php that is going to add this into DB.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 January 2009 at 5:54am | IP Logged
|
|
|
It's not clear what exactly you need. Do you want to use your Gmail/Yahoo/etc. accounts in WebMail Pro, or you need to export your address book into Contacts of WebMail Pro?
If it's the last case, WebMail Pro allows importing contacts stored in .csv file, its format should be compatible with the one used by Microsoft Outlook Express 6 or Microsoft Outlook 2000/XP/2003.
Many popular public email services allow exporting contacts. Gmail supports Outlook's CSV format for this. As for other services, you might need to modify file format to import it to WebMail Pro Contacts.
You should make sure that headers in CSV files are in English, otherwise you may have issues while importing contacts.
Regards,
Igor
|
Back to Top |
|
|
savic.prvoslav Newbie
Joined: 15 December 2008 Location: Yugoslavia
Online Status: Offline Posts: 31
|
Posted: 23 January 2009 at 6:42am | IP Logged
|
|
|
thank for your answer but that is not what i need. i have script that exports contact http://www.filestacker.com/contactgrabber/contactgrabber/ind ex.php you may use UN: prle_sd
pass: *********
select: YAHOO
so you can see what i am talking about.
----------------------
this script works something like this:
1: it exports all contacts from (I will use yahoo for example) yahoo.
2:for each contact print tableRow and here is the key I want to add contacts into logged users contacts. directly into database or any kind is good enough. I hope that you understand me. if you ask me why because my sight users can import all with few clicks. I believe that this is good idea do not you think.
|
Back to Top |
|
|
savic.prvoslav Newbie
Joined: 15 December 2008 Location: Yugoslavia
Online Status: Offline Posts: 31
|
Posted: 23 January 2009 at 7:01am | IP Logged
|
|
|
I have found the solution
INSERT INTO awm_addr_book (id_user, h_email, fullname,
notes, use_friendly_nm, h_street, h_city, h_state, h_zip, h_country,
h_phone, h_fax, h_mobile, h_web, b_email, b_company, b_street, b_city,
b_state, b_zip, b_country, b_job_title, b_department, b_office, b_phone,
b_fax, b_web, other_email, primary_email, id_addr_prev, tmp,
birthday_day, birthday_month, birthday_year)
VALUES ((select id_user from awm_accounts where email='LOGIN'), 'test@test.com', 'testesr testirovic', '', 0, '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0);
|
Back to Top |
|
|
savic.prvoslav Newbie
Joined: 15 December 2008 Location: Yugoslavia
Online Status: Offline Posts: 31
|
Posted: 26 January 2009 at 5:34pm | IP Logged
|
|
|
I have solved contact import from yahoo...
import works in GWT app calling php backend. I do not understand why webmailphppro does not have this option...
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 January 2009 at 5:18am | IP Logged
|
|
|
Does your script provide any specific benefits which are not available when contacts are imported using .csv files?
We are considering implementing the feature similar to the one you developed in subsequent releases of WebMail Pro. You can provide us with the code you developed if you like.
Regards,
Igor
|
Back to Top |
|
|
savic.prvoslav Newbie
Joined: 15 December 2008 Location: Yugoslavia
Online Status: Offline Posts: 31
|
Posted: 27 January 2009 at 7:47am | IP Logged
|
|
|
yes, benefits are :
user just selects gmail, yahoomail... enters his username and password and rest is done by it self. I find it complicated to export-import contacts, i am sure that you do same.
if you like i will provide you code, in few days if you do not mind i want to test it all first just to make sure.
if you like you may test this feature on site tha i am developing I will send you instructions how to do that.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 January 2009 at 8:45am | IP Logged
|
|
|
We would appreciate any cooperation on this matter. Please do not post any confidential information such as passwords on web forum, use the Request Support form instead.
Regards,
Igor
|
Back to Top |
|
|
nan805 Newbie
Joined: 08 March 2009 Location: Taiwan
Online Status: Offline Posts: 2
|
Posted: 09 March 2009 at 8:28pm | IP Logged
|
|
|
Hi
Good Day
Excuse me, I'd like to know whether Webmail
pro PHP supports the importing with the name
of Chinese language in address book?
For example
My CSV address book
===================
Name,Email
測試,test@test.com
===================
I have now an importing problem with Chinese
language in address book, and it will always
show me the message as "Error while importing
contacts."
If i change the name with English as below,it
will importing good.
===================
Name,Email
test,test@test.com
===================
Can you help this issue?
Thank you so much
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 10 March 2009 at 8:30am | IP Logged
|
|
|
Please provide us with an example of such .CSV file for examination.
Best regards,
Andrew
|
Back to Top |
|
|
marbab Newbie
Joined: 26 April 2010 Location: Pakistan
Online Status: Offline Posts: 14
|
Posted: 23 May 2010 at 12:37pm | IP Logged
|
|
|
Its better and easier solution for users. They can right away import there friends. Is this feature available in .net version as well ?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 May 2010 at 2:15am | IP Logged
|
|
|
Currently, WebMail Pro allows importing contacts from Microsoft Outlook and Outlook Express. This is actually importing CSV file, and if some mail service provider supports exporting contacts as standard CSV file, there's a great chance it can be imported into WebMail Pro.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|